Freigeben über


ContentPresenter.VerticalContentAlignment Eigenschaft

Definition

Ruft die vertikale Ausrichtung des Inhalts ab oder legt diese fest.

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

Eigenschaftswert

Einer der VerticalAlignment-Werte .

Gilt für: