UniformGridLayout.MinColumnSpacing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the minimum space between items on the horizontal axis.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property double MinColumnSpacing { 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 MinColumnSpacing();
void MinColumnSpacing(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 MinColumnSpacing();
void MinColumnSpacing(double value);
public double MinColumnSpacing { [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 MinColumnSpacing { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0.0")] set; }
Public Property MinColumnSpacing As Double
Property Value
Double
double
The minimum space (in pixels) between items on the horizontal axis.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
Remarks
The spacing may exceed this minimum value when ItemsJustification is set to SpaceEvenly, SpaceAround, or SpaceBetween.