UniformGridLayout.ItemsJustification Property

Definition

Gets or sets a value that indicates how items are aligned on the non-scrolling or non-virtualizing axis.

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

public:
 property UniformGridLayoutItemsJustification ItemsJustification { UniformGridLayoutItemsJustification get(); void set(UniformGridLayoutItemsJustification value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")]
UniformGridLayoutItemsJustification ItemsJustification();

void ItemsJustification(UniformGridLayoutItemsJustification value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")]
UniformGridLayoutItemsJustification ItemsJustification();

void ItemsJustification(UniformGridLayoutItemsJustification value);
public UniformGridLayoutItemsJustification ItemsJustification { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")]
public UniformGridLayoutItemsJustification ItemsJustification { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsJustification::Start")] set; }
Public Property ItemsJustification As UniformGridLayoutItemsJustification

Property Value

An enumeration value that indicates how items are aligned. The default is Start.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to