Udostępnij za pośrednictwem


ContentPresenter.VerticalContentAlignment Property

Definition

Gets or sets the vertical alignment of the content.

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

Property Value

One of the VerticalAlignment values.

Applies to