Freigeben über


LinedFlowLayout.ItemsJustification Eigenschaft

Definition

Ruft einen Wert ab, der angibt, wie Elemente auf der horizontalen Achse ausgerichtet werden, oder legt diesen fest.

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

Eigenschaftswert

Ein Enumerationswert, der angibt, wie Elemente ausgerichtet werden. Der Standardwert lautet Start.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Hinweise

Dieses Diagramm zeigt die Auswirkungen der einzelnen LinedFlowLayoutItemsJustification-Enumerationswerte auf die horizontale Anordnung von Elementen.

Die Aufzählungsseite für Linienflusslayoutelemente enthält Beschreibungen der einzelnen Werte, die in diesem Diagramm dargestellt werden.

Diese Screenshots zeigen ein Beispiel für jeden Wert, der auf eine Image Gallery angewendet wird.

Start Elemente werden am Anfang der Zeile ausgerichtet, wobei zusätzliche Leerzeichen am Ende vorhanden sind. Der Abstand zwischen Elementen ändert sich nicht.

Center Elemente werden in der Mitte der Zeile ausgerichtet, wobei am Anfang und am Ende zusätzlicher Platz vorhanden ist. Der Abstand zwischen Elementen ändert sich nicht.

End Elemente werden am Ende der Zeile ausgerichtet, wobei am Anfang zusätzliche Leerzeichen vorhanden sind. Der Abstand zwischen Elementen ändert sich nicht.

SpaceAround Elemente werden so ausgerichtet, dass vor und nach jedem Element gleichmäßig zusätzlicher Platz hinzugefügt wird.

SpaceBetween Elemente werden so ausgerichtet, dass zusätzlicher Platz gleichmäßig zwischen angrenzenden Elementen hinzugefügt wird. Am Anfang oder Ende wird kein Leerzeichen hinzugefügt.

SpaceEvenly Elemente werden so ausgerichtet, dass vor und nach jedem Element gleichmäßig zusätzlicher Platz hinzugefügt wird.

Gilt für: