ToolStripItem.AccessibleName ToolStripItem.AccessibleName ToolStripItem.AccessibleName ToolStripItem.AccessibleName Property

定义

获取或设置供具有辅助功能的客户端应用程序使用的控件的名称。Gets or sets the name of the control for use by accessibility client applications.

public:
 property System::String ^ AccessibleName { System::String ^ get(); void set(System::String ^ value); };
public string AccessibleName { get; set; }
member this.AccessibleName : string with get, set
Public Property AccessibleName As String

属性值

控件的名称,供具有辅助功能的客户端应用程序使用。The name of the control, for use by accessibility client applications. 默认值为 nullThe default is null.

注解

属性是一个标签, 用于简要描述和标识其容器中的对象, 例如ToolStripButton中的文本、的名称ToolStripMenuItem或显示在ToolStripTextBox控件旁边的标签。 AccessibleNameThe AccessibleName property is a label that briefly describes and identifies the object within its container, such as the text in a ToolStripButton, the name of a ToolStripMenuItem, or a label displayed next to a ToolStripTextBox control.

有关可访问对象的属性的详细信息, 请参阅描述性属性的内容For more information about properties of accessible objects, see Content of Descriptive Properties.

有关示例, 请参阅AccessibleObject类。For samples, see the AccessibleObject class.

适用于

另请参阅