共用方式為


UniformGridLayout.ItemsJustification 屬性

定義

取得或設定值,指出專案如何在非卷動或非虛擬化座標軸上對齊。

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; }
var uniformGridLayoutItemsJustification = uniformGridLayout.itemsJustification;
uniformGridLayout.itemsJustification = uniformGridLayoutItemsJustification;
Public Property ItemsJustification As UniformGridLayoutItemsJustification

屬性值

列舉值,指出專案對齊方式。 預設值為 Start

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於