DatePicker.Orientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.