Share via


UniformGridLayout.MinItemHeight Property

Definition

Gets or sets the minimum height of each item.

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

public:
 property double MinItemHeight { double get(); void set(double value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")]
double MinItemHeight();

void MinItemHeight(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")]
double MinItemHeight();

void MinItemHeight(double value);
public double MinItemHeight { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")]
public double MinItemHeight { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")] set; }
Public Property MinItemHeight As Double

Property Value

Double

double

The minimum height (in pixels) of each item. The default is NaN, in which case the height of the first item is used as the minimum.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to