다음을 통해 공유


UniformGridLayout.MaximumRowsOrColumns 속성

정의

UniformGridLayout의 방향에 따라 행 또는 열당 렌더링되는 최대 항목 수를 가져오거나 설정합니다.

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

public:
 property int MaximumRowsOrColumns { int get(); void set(int value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
int MaximumRowsOrColumns();

void MaximumRowsOrColumns(int value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
public int MaximumRowsOrColumns { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] set; }
Public Property MaximumRowsOrColumns As Integer

속성 값

Int32

int

행당 최대 항목 수(방향) 또는 열( VerticalHorizontal 방향)을 나타내는 정수입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

적용 대상

추가 정보