SettersExtensions.AddBinding 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.
Add a Setter with a Binding to the IList<Setter>
public:
[System::Runtime::CompilerServices::Extension]
static void AddBinding(System::Collections::Generic::IList<Microsoft::Maui::Controls::Setter ^> ^ setters, Microsoft::Maui::Controls::BindableProperty ^ property, Microsoft::Maui::Controls::Binding ^ binding);
public static void AddBinding (this System.Collections.Generic.IList<Microsoft.Maui.Controls.Setter> setters, Microsoft.Maui.Controls.BindableProperty property, Microsoft.Maui.Controls.Binding binding);
static member AddBinding : System.Collections.Generic.IList<Microsoft.Maui.Controls.Setter> * Microsoft.Maui.Controls.BindableProperty * Microsoft.Maui.Controls.Binding -> unit
<Extension()>
Public Sub AddBinding (setters As IList(Of Setter), property As BindableProperty, binding As Binding)
Parameters
The list of setters to which to add a setter that binds property
using binding
.
- property
- BindableProperty
The property to set.
- binding
- Binding
The binding to add.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.