Windows.UI.Xaml.Controls.DatePicker.DayVisible

June 22, 2022 ยท View on GitHub

-description

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

-xaml-syntax

<DatePicker DayVisible="bool"/>

-property-value

true if the day 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 DayVisible to false to hide the ComboBox that displays or changes the day component of a date.

Here's the picker with the day field hidden.

A date picker with the day field hidden.

-examples

-see-also

MonthVisible, YearVisible, DayFormat Date picker