UniformGridLayout.Orientation 속성

정의

항목이 배치되는 축을 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

public:
 property Orientation Orientation { Orientation get(); void set(Orientation value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")]
Orientation Orientation();

void Orientation(Orientation value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")]
Orientation Orientation();

void Orientation(Orientation value);
public Orientation Orientation { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")]
public Orientation Orientation { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Orientation::Horizontal")] set; }
Public Property Orientation As Orientation

속성 값

항목이 배치되는 축을 지정하는 열거형 값 중 하나입니다. 기본값은 세로입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

적용 대상