Jaa


DatePicker.Orientation Property

Definition

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

public:
 property Orientation Orientation { Orientation get(); void set(Orientation value); };
Orientation Orientation();

void Orientation(Orientation value);
public Orientation Orientation { get; set; }
var orientation = datePicker.orientation;
datePicker.orientation = orientation;
Public Property Orientation As Orientation
<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