UniformGridLayout.MaximumRowsOrColumns 屬性

定義

根據 UniformGridLayout 的方向,取得或設定根據每個數據列或數據行呈現的項目數目上限。

public:
 property int MaximumRowsOrColumns { int get(); void set(int value); };
/// [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")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
int MaximumRowsOrColumns();

void MaximumRowsOrColumns(int value);
public int MaximumRowsOrColumns { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] set; }
[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; }
var int32 = uniformGridLayout.maximumRowsOrColumns;
uniformGridLayout.maximumRowsOrColumns = int32;
Public Property MaximumRowsOrColumns As Integer

屬性值

Int32

int

整數,表示方向) Vertical 或方向) 之數據行 (Horizontal 每個數據列 (的最大項目數。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於

另請參閱