Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
xamDateTimeEditor: Disable Dates less than current day(Today)
posted

Hi,

 

could u tell me, how to disable the date which is less than current date(Today) in a xamdatetimeeditor.

my xaml code is like this.

<iw:XamDateTimeEditor Width="auto" VerticalContentAlignment="Bottom" MinWidth="100" x:Name="xmcDate" DropDownButtonDisplayMode="Always" IsAlwaysInEditMode="True"
                               Grid.Column="1" DisplayMode="IncludeBoth" Initialized="XmcDateInitialized" />

 

and also i need to do validation here for checking the date is less than current day or not, in case if the user enter the date manually, so will u tell me the event handler name through which i can handle it, if possible tell me with a sample...