You are here: Symbol Reference > Stimulsoft.Report.Wpf Namespace > DatePicker Class > DatePicker Fields > MaxDateProperty Field
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
DatePicker.MaxDateProperty Field

Gets or sets the max date to be set for the DatePicker

Syntax
C++
C#
Visual Basic
public: DependencyProperty MaxDateProperty = DependencyProperty.Register("MaxDate", typeof(DateTime), typeof(DatePicker), new UIPropertyMetadata(DateTime.MaxValue, delegate(DependencyObject sender, DependencyPropertyChangedEventArgs e) { var picker = (DatePicker)sender; if (picker.MaxDate.Ticks < picker.CurrentlySelectedDate.Ticks) picker.CurrentlySelectedDate = picker.MaxDate; picker.ReBindListOfDays(); }));
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.