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

適用対象

こちらもご覧ください