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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.