DatePicker.Orientation Property

Definition

Gets or sets a value that indicates whether the day, month, and year selectors are stacked horizontally or vertically.

C#
public Orientation Orientation { get; set; }
XAML
<DatePicker Orientation="Horizontal"/>
-or-
<DatePicker Orientation="Vertical"/>

Property Value

A named constant of the enumeration that indicates whether the day, month, and year selectors are stacked horizontally or vertically. The default is Horizontal.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6