Compartilhar via


ContentPresenter.HorizontalContentAlignment Propriedade

Definição

Obtém ou define o alinhamento horizontal do conteúdo.

public:
 property HorizontalAlignment HorizontalContentAlignment { HorizontalAlignment get(); void set(HorizontalAlignment value); };
HorizontalAlignment HorizontalContentAlignment();

void HorizontalContentAlignment(HorizontalAlignment value);
public HorizontalAlignment HorizontalContentAlignment { get; set; }
var horizontalAlignment = contentPresenter.horizontalContentAlignment;
contentPresenter.horizontalContentAlignment = horizontalAlignment;
Public Property HorizontalContentAlignment As HorizontalAlignment
<ContentPresenter  HorizontalContentAlignment="horizontalAlignmentMemberName"/>

Valor da propriedade

Um dos valores HorizontalAlignment .

Aplica-se a