Share via


InkPicture.TabStop Property

Gets or sets a value indicating whether the user can give the focus to this control by pressing the TAB key.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Property TabStop As Boolean
'Usage
Dim instance As InkPicture
Dim value As Boolean

value = instance.TabStop

instance.TabStop = value
public bool TabStop { get; set; }
public:
property bool TabStop {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_TabStop ()

/** @property */
public void set_TabStop (boolean value)
public function get TabStop () : boolean

public function set TabStop (value : boolean)
Not applicable.

Property Value

true if the user can give the focus to the control by pressing the TAB key. Default. false if the user can not give the focus to the control by pressing the TAB key.

Remarks

When the user presses the TAB key, the input focus is set to the next control in the tab order. Controls with the TabStop property value of false are not included in the collection of controls in the tab order. The tab order can be manipulated by setting the control's TabIndex property value

Example

This C# example creates two TextBox controls, theTextBox1 and theTextBox2, and an InkPicture control, theInkPicture. The TabStop property is set to false on theInkPicture. When a user presses the TAB key, focus moves from theTextBox1 to theTextBox2, bypassing theInkPicture.

[C#]

using Microsoft.Ink;

//. . .

theTextBox1 = new TextBox();
theInkPicture = new InkPicture();
theTextBox2 = new TextBox();

//. . .

theInkPicture.TabStop = false;

This Microsoft® Visual Basic® .NET example creates two TextBox controls, theTextBox1 and theTextBox2, and an InkPicture control, theInkPicture. The TabStop property is set to false on theInkPicture. When a user presses the TAB key, focus moves from theTextBox1 to theTextBox2, bypassing theInkPicture.

[Visual Basic]

Imports Microsoft.Ink

//. . .

Dim theTextBox1 As New TextBox()
Dim theInkPicture As New InkPicture()
Dim theTextBox2 = As TextBox()

//. . .

theInkPicture.TabStop = 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

InkPicture Class
InkPicture Members
Microsoft.Ink Namespace
TabStop
TabIndex

Other Resources