Condividi tramite


UniformGridLayout.ItemsJustification Proprietà

Definizione

Ottiene o imposta un valore che indica come gli elementi vengono allineati sull'asse non a scorrimento o non virtualizzato.

Questa documentazione si applica a WinUI 2 per UWP (per WinUI nella SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

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

Valore della proprietà

Valore di enumerazione che indica come gli elementi sono allineati. Il valore predefinito è Start.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Si applica a