导出 (0) 打印
全部展开

Control.IsTabStop 属性

Gets or sets whether a control is included in tab navigation.

命名空间: System.Windows.Controls
程序集: PresentationFramework(在 presentationframework.dll 中)
XML 命名空间:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

[BindableAttribute(true)] 
public bool IsTabStop { get; set; }
/** @property */
public boolean get_IsTabStop ()

/** @property */
public void set_IsTabStop (boolean value)

public function get IsTabStop () : boolean

public function set IsTabStop (value : boolean)

<object IsTabStop="bool" .../>

属性值

true if is included in tab navigation; otherwise, false. The default is true.

Identifier Field

IsTabStopProperty

Metadata Flags

None

If IsTabStop is false, the control is excluded from tab navigation.

The following example shows how to set the IsTabStop property and how to test whether a control is included in tab navigation.

<Button Name="btn13" IsTabStop="true" Click="IsTabStop">
  IsTabStop
</Button>

if (btn13.IsTabStop == true)
{
    btn13.Content = "Control is a tab stop.";
}

Windows Vista、Microsoft Windows XP SP2 和 Windows Server 2003 SP1 支持 Microsoft .NET Framework 3.0。

.NET Framework

受以下版本支持:3.0

社区附加资源

添加
显示:
© 2014 Microsoft