Bagikan melalui


RadioButtons.ItemTemplate Properti

Definisi

Mendapatkan atau mengatur DataTemplate yang digunakan untuk menampilkan setiap item.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

public:
 property Platform::Object ^ ItemTemplate { Platform::Object ^ get(); void set(Platform::Object ^ value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::make<RadioButtonsElementFactory>()")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::make<RadioButtonsElementFactory>()")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::make<RadioButtonsElementFactory>()")]
IInspectable ItemTemplate();

void ItemTemplate(IInspectable value);
IInspectable ItemTemplate();

void ItemTemplate(IInspectable value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::make<RadioButtonsElementFactory>()")]
public object ItemTemplate { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::make<RadioButtonsElementFactory>()")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::make<RadioButtonsElementFactory>()")] set; }
public object ItemTemplate { get; set; }
Public Property ItemTemplate As Object

Nilai Properti

Object

Platform::Object

IInspectable

Templat yang menentukan visualisasi objek data. Defaultnya adalah null.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk

Lihat juga