SettersExtensions.Add(IList<Setter>, BindableProperty, Object) Method

Definition

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

setters
IList<Setter>

The setter collection.

property
BindableProperty

The bindable property to set.

value
Object

The value to apply.

Applies to