Condividi tramite


ContentPresenter.HorizontalContentAlignment Proprietà

Definizione

Ottiene o imposta l'allineamento orizzontale del contenuto.

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"/>

Valore della proprietà

Uno dei valori HorizontalAlignment .

Si applica a