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項目は、各項目の前後に均等に追加されるように配置されます。

適用対象