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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.