共用方式為


PenInputPanel.OnInputFailed Method

PenInputPanel.OnInputFailed Method

Allows derived classes to modify the default behavior of the InputFailed event.

Definition

Visual Basic .NET Overridable Protected Sub OnInputFailed( _
ByVal e As PenInputPanelInputFailedEventArgs _
)
C# protected virtual void OnInputFailed(
PenInputPanelInputFailedEventArgs e
);
Managed C++ protected: virtual void OnInputFailed(
PenInputPanelInputFailedEventArgs *e
);

Parameters

e Microsoft.Ink.PenInputPanelInputFailedEventArgs. The PenInputPanelInputFailedEventArgs object that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

In derived classes, this method is called only if a delegate is attached to the InputFailed event.

When overriding this method in a derived class, call the OnInputFailed method of the base class so that registered delegates receive the event.

See Also