DataTemplate.SetValue(BindableProperty, Object) Methode

Definition

Legt einen statischen Wert für eine Eigenschaft für vorlagenbasierte Elemente fest.

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)

Parameter

property
BindableProperty

Die festzulegende Eigenschaft.

value
Object

Der anzuwendende Wert.

Gilt für: