LinedFlowLayout.ItemsJustification Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, wie Elemente auf der horizontalen Achse ausgerichtet werden.

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 Effekte 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 angezeigt werden.

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

Start Elemente werden am Anfang der Zeile ausgerichtet, mit zusätzlichem Leerraum am Ende. Der Abstand zwischen Elementen ändert sich nicht.

Center Die Elemente werden in der Mitte der Linie ausgerichtet, mit zusätzlichem Platz am Anfang und Ende. Der Abstand zwischen Elementen ändert sich nicht.

End Elemente werden am Ende der Zeile ausgerichtet, mit zusätzlichem Leerraum am Anfang. Der Abstand zwischen Elementen ändert sich nicht.

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

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

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

Gilt für: