Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.05 KB

datepicker_dayvisible.md

File metadata and controls

36 lines (23 loc) · 1.05 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.DatePicker.DayVisible
winrt property

Windows.UI.Xaml.Controls.DatePicker.DayVisible

-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