次の方法で共有


DataTemplate.SetValue(BindableProperty, Object) Method

Definition

Sets the value of 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)

Parameters

property
BindableProperty

The property to set.

value
Object

The new value.

Applies to