DatePicker.OnDateValidationError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the DateValidationError event.
protected:
virtual void OnDateValidationError(System::Windows::Controls::DatePickerDateValidationErrorEventArgs ^ e);
protected virtual void OnDateValidationError (System.Windows.Controls.DatePickerDateValidationErrorEventArgs e);
abstract member OnDateValidationError : System.Windows.Controls.DatePickerDateValidationErrorEventArgs -> unit
override this.OnDateValidationError : System.Windows.Controls.DatePickerDateValidationErrorEventArgs -> unit
Protected Overridable Sub OnDateValidationError (e As DatePickerDateValidationErrorEventArgs)
Parameters
A DatePickerDateValidationErrorEventArgs that contains the event data.
Notes to Inheritors
When overriding OnDateValidationError(DatePickerDateValidationErrorEventArgs) in a derived class, be sure to call the base class' OnDateValidationError(DatePickerDateValidationErrorEventArgs) method so that registered delegates receive the event.