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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.