Windows.UI.Xaml.Controls.DatePicker.YearVisible
June 22, 2022 ยท View on GitHub
-description
Gets or sets a value that indicates whether the year selector is shown.
-xaml-syntax
<DatePicker YearVisible="bool"/>
-property-value
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 YearVisible to false to hide the ComboBox that displays or changes the year component of a date.
Here's the picker with the year field hidden.
