-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.DatePicker.DayVisible |
winrt property |
Gets or sets a value that indicates whether the day selector is shown.
<DatePicker DayVisible="bool"/>
true if the day selector is shown; otherwise, false. The default is true.
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.