Share via


PenInputPanelChangedEventArgs.PenInputPanelChangedEventArgs Constructor

PenInputPanelChangedEventArgs.PenInputPanelChangedEventArgs Constructor

Initializes a new instance of the PenInputPanelChangedEventArgs class.

Definition

Visual Basic .NET Public Sub PenInputPanelChangedEventArgs( _
ByVal newPanelType As PanelType _
)
C# public PenInputPanelChangedEventArgs(
PanelType newPanelType
);
Managed C++ public: PenInputPanelChangedEventArgs(
PanelType *newPanelType
);

Parameters

> > >
newPanelType Microsoft.Ink.PanelType. A member of the PanelType enumeration that indicates the type of panel the PenInputPanel object has changed to.

Default0 Specifies the PenInputPanel object displays the last panel type used for any pen input panel in any application. If all previous references to the pen input panel have been destroyed in all active applications, a new pen input panel will use the handwriting panel type.
Inactive1 Specifies the PenInputPanel object does not accept input. This value is returned by the CurrentPanel property when the panel window is owned by another instance of the PenInputPanel object. This value is also returned if the panel window has not yet been activated.
Handwriting2 Specifies the PenInputPanel object displays the default handwriting panel for the current input language.
Keyboard3 Specifies the PenInputPanel object displays the default keyboard panel for the current input language.

See Also