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
1655
Namspace for DateRangeValidateRule in XamDateTimeEditor
posted

Hi,

 

In one of the links i found that, for Validating date in XamDateTimeEditor they are using DateRangeValidateRule property.(Highlighted in Bold below)

Can you tell me in what name space this is used.

<igEditors:XamDateTimeEditor Name="dtDate" Grid.Row="0" Grid.Column="5"
                            VerticalAlignment="Center" HorizontalAlignment="Left" Width="100"
                            TabIndex="4" Format="dd-MMM-yyyy" Mask="dd-mm-yyyy"
                            ToolTip="Select a date">
                        <igEditors:XamDateTimeEditor.Value>
                            <Binding Path="GoLiveDate" >
                                <Binding.ValidationRules>
                                    <validator:DateRangeValidateRule
                                        MinimumDate="DateTime.Now"
                                        ErrorMessage="Date must be greater than today's date."/>
                                </Binding.ValidationRules>
                            </Binding>
                        </igEditors:XamDateTimeEditor.Value>
                    </igEditors:XamDateTimeEditor>

 

Thanks,

Varun