Compartilhar via


LinedFlowLayout.ItemsJustification Propriedade

Definição

Obtém ou define um valor que indica como os itens são alinhados no eixo 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

Valor da propriedade

Um valor de enumeração que indica como os itens são alinhados. O padrão é Start.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Comentários

Este diagrama mostra os efeitos de cada valor de enumeração LinedFlowLayoutItemsJustification na disposição horizontal dos itens.

A página de enumeração de justificativa de itens de layout de fluxo forrado contém descrições de cada valor mostrado neste diagrama.

Essas capturas de tela mostram um exemplo de cada valor aplicado a uma galeria de imagens.

StartOs itens são alinhados com o início da linha, com espaço extra no final. O espaçamento entre itens não é alterado.

CenterOs itens são alinhados no centro da linha, com espaço extra no início e no final. O espaçamento entre itens não é alterado.

EndOs itens são alinhados com o final da linha, com espaço extra no início. O espaçamento entre itens não é alterado.

SpaceAroundOs itens são alinhados para que o espaço extra seja adicionado uniformemente antes e depois de cada item.

SpaceBetweenOs itens são alinhados para que o espaço extra seja adicionado uniformemente entre itens adjacentes. Nenhum espaço é adicionado no início ou no final.

SpaceEvenlyOs itens são alinhados para que o espaço extra seja adicionado uniformemente antes e depois de cada item.

Aplica-se a