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
<BrowsableAttribute(True)> _
Public Property TabStop As Boolean
'Usage
Dim instance As InkPicture 
Dim value As Boolean 

value = instance.TabStop

instance.TabStop = value
[BrowsableAttribute(true)]
public bool TabStop { get; set; }
[BrowsableAttribute(true)]
public:
property bool TabStop {
    bool get ();
    void set (bool value);
}
public function get TabStop () : boolean 
public function set TabStop (value : boolean)

Property Value

Type: System.Boolean
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

Examples

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 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkPicture Class

InkPicture Members

Microsoft.Ink Namespace

TabStop

TabIndex