Share via


LinedFlowLayout.ItemsJustification 屬性

定義

取得或設定值,指出專案在水平軸上的對齊方式。

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

void ItemsJustification(LinedFlowLayoutItemsJustification value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")]
LinedFlowLayoutItemsJustification ItemsJustification();

void ItemsJustification(LinedFlowLayoutItemsJustification value);
public LinedFlowLayoutItemsJustification ItemsJustification { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")]
public LinedFlowLayoutItemsJustification ItemsJustification { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsJustification")] set; }
var linedFlowLayoutItemsJustification = linedFlowLayout.itemsJustification;
linedFlowLayout.itemsJustification = linedFlowLayoutItemsJustification;
Public Property ItemsJustification As LinedFlowLayoutItemsJustification

屬性值

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

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

備註

此圖顯示每個 LinedFlowLayoutItemsJustification 列舉值對專案水準排列的效果。

折線流程配置專案理由列舉頁面包含此圖表中所顯示之每個值的描述。

這些螢幕快照顯示套用至影像庫的每個值範例。

Start專案會與行的開頭對齊,結尾有額外的空格。項目之間的間距不會變更。

Center專案會對齊線條中央,並在開頭和結尾加上額外的空間。項目之間的間距不會變更。

End專案會與行尾對齊,並在開頭加上額外的空間。項目之間的間距不會變更。

SpaceAround專案會對齊,以便在每個專案前後平均新增額外的空間。

SpaceBetween專案對齊,以便在連續項目之間平均新增額外的空間。開頭或結尾沒有新增空格。

SpaceEvenly專案會對齊,以便在每個專案前後平均新增額外的空間。

適用於