SettersExtensions.Add(IList<Setter>, BindableProperty, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a Setter with the specified property and value to the collection.
public:
[System::Runtime::CompilerServices::Extension]
static void Add(System::Collections::Generic::IList<Microsoft::Maui::Controls::Setter ^> ^ setters, Microsoft::Maui::Controls::BindableProperty ^ property, System::Object ^ value);
public static void Add(this System.Collections.Generic.IList<Microsoft.Maui.Controls.Setter> setters, Microsoft.Maui.Controls.BindableProperty property, object value);
static member Add : System.Collections.Generic.IList<Microsoft.Maui.Controls.Setter> * Microsoft.Maui.Controls.BindableProperty * obj -> unit
<Extension()>
Public Sub Add (setters As IList(Of Setter), property As BindableProperty, value As Object)
Parameters
- property
- BindableProperty
The bindable property to set.
- value
- Object
The value to apply.