Share via


UniformGridLayout.MaximumRowsOrColumns Property

Definition

Overloads

MaximumRowsOrColumns

Gets or sets the maximum number of items rendered per row or column, based on the orientation of the UniformGridLayout.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

MaximumRowsOrColumns

Gets or sets the maximum number of items rendered per row or column, based on the orientation of the UniformGridLayout.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

Property Value

Int32

int

An integer indicating the maximum number of items per row (for Vertical orientation) or column (for Horizontal orientation).

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

See also

Applies to