Share via


UniformGridLayout.ItemsJustification 屬性

定義

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

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

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

屬性值

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

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於