다음을 통해 공유


RadioButtons.ItemTemplate 속성

정의

각 항목을 표시하는 데 사용되는 DataTemplate 을 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(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

적용 대상

추가 정보