RadioButtons.ItemTemplate プロパティ

定義

各項目の表示に使用する DataTemplate を取得または設定します。

このドキュメントは、WinUI 2 for UWP に適用されます (Windows アプリ SDKWinUI については、Windows アプリ SDK名前空間を参照してください)。

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

プロパティ値

Object

Platform::Object

IInspectable

データ オブジェクトの視覚化を指定するテンプレート。 既定では、 nullです。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用対象

こちらもご覧ください