INativeBindingService.TrySetBinding 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.
Overloads
TrySetBinding(Object, BindableProperty, BindingBase) | |
TrySetBinding(Object, String, BindingBase) |
TrySetBinding(Object, BindableProperty, BindingBase)
- Source:
- INativeBindingService.cs
- Source:
- INativeBindingService.cs
public:
bool TrySetBinding(System::Object ^ target, Microsoft::Maui::Controls::BindableProperty ^ property, Microsoft::Maui::Controls::BindingBase ^ binding);
public bool TrySetBinding (object target, Microsoft.Maui.Controls.BindableProperty property, Microsoft.Maui.Controls.BindingBase binding);
abstract member TrySetBinding : obj * Microsoft.Maui.Controls.BindableProperty * Microsoft.Maui.Controls.BindingBase -> bool
Public Function TrySetBinding (target As Object, property As BindableProperty, binding As BindingBase) As Boolean
Parameters
- target
- Object
- property
- BindableProperty
- binding
- BindingBase
Returns
Applies to
TrySetBinding(Object, String, BindingBase)
- Source:
- INativeBindingService.cs
- Source:
- INativeBindingService.cs
public:
bool TrySetBinding(System::Object ^ target, System::String ^ propertyName, Microsoft::Maui::Controls::BindingBase ^ binding);
public bool TrySetBinding (object target, string propertyName, Microsoft.Maui.Controls.BindingBase binding);
abstract member TrySetBinding : obj * string * Microsoft.Maui.Controls.BindingBase -> bool
Public Function TrySetBinding (target As Object, propertyName As String, binding As BindingBase) As Boolean
Parameters
- target
- Object
- propertyName
- String
- binding
- BindingBase
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.