Langage

LinedFlowLayout.ItemsJustification Propriété

Définition

Obtient ou définit une valeur qui indique comment les éléments sont alignés sur l’axe horizontal.

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

Valeur de propriété

Valeur d’énumération qui indique comment les éléments sont alignés. La valeur par défaut est Start.

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarques

Ce diagramme montre les effets de chaque valeur d’énumération LinedFlowLayoutItemsJustification sur la disposition horizontale des éléments.

La page d’énumération des éléments de disposition de flux alignés contient des descriptions de chaque valeur indiquée dans ce diagramme.

Ces captures d’écran montrent un exemple de chaque valeur appliquée à une galerie d’images.

Start Les éléments sont alignés avec le début de la ligne, avec un espace supplémentaire à la fin. L’espacement entre les éléments ne change pas.

Center Les éléments sont alignés au centre de la ligne, avec un espace supplémentaire au début et à la fin. L’espacement entre les éléments ne change pas.

End Les éléments sont alignés avec la fin de la ligne, avec un espace supplémentaire au début. L’espacement entre les éléments ne change pas.

SpaceAround Les éléments sont alignés afin que l’espace supplémentaire soit ajouté uniformément avant et après chaque élément.

SpaceBetween Les éléments sont alignés afin que l’espace supplémentaire soit ajouté uniformément entre les éléments adjacents. Aucun espace n’est ajouté au début ou à la fin.

SpaceEvenly Les éléments sont alignés afin que l’espace supplémentaire soit ajouté uniformément avant et après chaque élément.

S’applique à