Control.VerticalContentAlignment property

Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Gets or sets the vertical alignment of the control's content.

Syntax


public VerticalAlignment VerticalContentAlignment { get; set; }


<control VerticalContentAlignment="verticalAlignmentValue"/>

XAML Values

verticalAlignmentValue

A named constant of the VerticalAlignment enumeration, such as Stretch.

Property value

Type: VerticalAlignment

One of the VerticalAlignment values. The default is Center.

Remarks

Each control might apply this property differently based on its visual template. This property only affects a control whose template uses the VerticalContentAlignment property as a parameter. On other controls, this property has no effect. For more info about visual templates, see the Template property.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Control

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.