Condividi tramite


ContentPresenter.VerticalContentAlignment Proprietà

Definizione

Ottiene o imposta l'allineamento verticale del contenuto.

public:
 property VerticalAlignment VerticalContentAlignment { VerticalAlignment get(); void set(VerticalAlignment value); };
VerticalAlignment VerticalContentAlignment();

void VerticalContentAlignment(VerticalAlignment value);
public VerticalAlignment VerticalContentAlignment { get; set; }
var verticalAlignment = contentPresenter.verticalContentAlignment;
contentPresenter.verticalContentAlignment = verticalAlignment;
Public Property VerticalContentAlignment As VerticalAlignment
<ContentPresenter  VerticalContentAlignment="verticalAlignmentValue"/>

Valore della proprietà

Uno dei valori VerticalAlignment .

Si applica a