Sdílet prostřednictvím


DataTemplate.SetValue(BindableProperty, Object) Metoda

Definice

Nastaví hodnotu .property

public:
 void SetValue(Microsoft::Maui::Controls::BindableProperty ^ property, System::Object ^ value);
public void SetValue (Microsoft.Maui.Controls.BindableProperty property, object value);
member this.SetValue : Microsoft.Maui.Controls.BindableProperty * obj -> unit
Public Sub SetValue (property As BindableProperty, value As Object)

Parametry

property
BindableProperty

Vlastnost, kterou chcete nastavit.

value
Object

Nová hodnota.

Platí pro