DatePicker.YearVisible DatePicker.YearVisible DatePicker.YearVisible DatePicker.YearVisible Property

Definition

Gets or sets a value that indicates whether the year selector is shown.

public : Platform::Boolean YearVisible { get; set; }
bool YearVisible();

void YearVisible(bool yearvisible);
public bool YearVisible { get; set; }
Public ReadWrite Property YearVisible As bool
<DatePicker YearVisible="bool"/>

Property Value

bool bool

true if the year selector is shown; otherwise, false. The default is true.

Remarks

By default, the DatePicker shows ComboBox elements to select the month, day, and year. Set MonthVisible to false to hide the ComboBox that displays or changes the year component of a date.

See also