Partager via


ContentPresenter.VerticalContentAlignment Propriété

Définition

Obtient ou définit l’alignement vertical du contenu.

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

Valeur de propriété

Une des valeurs VerticalAlignment .

S’applique à