Setting Mindate and MaxDate for Datepicker Control

前端 未结 3 900
小蘑菇
小蘑菇 2021-01-19 07:36

I\'m currently using DatePicker’s control, where I tried to limit the dates to show MinDate & Maxdate. Unfortunately I couldn\'t find any related method to set the Min a

3条回答
  •  天涯浪人
    2021-01-19 08:09

    WPF DatePicker has the DisplayDateStart and DislayDateEnd properties; see https://msdn.microsoft.com/en-us/library/system.windows.controls.datepicker.displaydatestart(v=vs.110).aspx.

提交回复
热议问题