PenInputPanel.AutoShow Property
Deprecated. Gets or sets a Boolean value that indicates whether the pen input panel appears when focus is set on the attached control by using the pen. PenInputPanel has been replaced by Microsoft.Ink.TextInput.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Property AutoShow As Boolean
'Usage
Dim instance As PenInputPanel
Dim value As Boolean
value = instance.AutoShow
instance.AutoShow = value
public bool AutoShow { get; set; }
public:
property bool AutoShow {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_AutoShow ()
/** @property */
public void set_AutoShow (boolean value)
public function get AutoShow () : boolean
public function set AutoShow (value : boolean)
Not applicable.
Property Value
Whether the pen input panel appears when focus is set by using the pen.
Value |
Meaning |
---|---|
true |
The pen input panel appears when focus is set using the pen. Default. |
false |
The pen input panel's appearance is controlled by the Visible property, rather than by whether or not the attached control has focus. |
Remarks
Setting the AutoShow property to false disables activation of the pen input panel when the end user sets the focus to the attached control by using the pen.
If AutoShow is set to false, the Visible property controls the visibility of the pen input panel. Additionally, the PenInputPanel object must be properly attached to a window or control in order to display in the user interface.
When the AutoShow property is set to false, Tablet PC Input Panel does not show until the Visible property is set to true. At this point, Tablet PC Input Panel is displayed but no hover target is shown.
Example
This C# example creates a PenInputPanel object, thePenInputPanel
, and attaches it to an InkEdit control, theInkEdit
. It disables automatic activation of the pen input panel by setting the AutoShow property to false.
[C#]
// Declare, create, and attach a new PenInputPanel to an InkEdit control
PenInputPanel thePenInputPanel = new PenInputPanel(theInkEdit);
// Turn off AutoShow
thePenInputPanel.AutoShow = false;
This Microsoft® Visual Basic® .NET example creates a PenInputPanel object, thePenInputPanel
, and attaches it to an InkEdit control, theInkEdit
. It disables automatic activation of the pen input panel by setting the AutoShow property to false.
[Visual Basic]
' Declare, create, and attach a new PenInputPanel to an InkEdit control
Dim thePenInputPanel As New PenInputPanel(theInkEdit)
' Turn off AutoShow
thePenInputPanel.AutoShow = False
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PenInputPanel Class
PenInputPanel Members
Microsoft.Ink Namespace
PenInputPanel.Visible