DatePicker.OnDateValidationError Method

Definition

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

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.

Applies to