ToolStripItem.AccessibleDescription ToolStripItem.AccessibleDescription ToolStripItem.AccessibleDescription ToolStripItem.AccessibleDescription Property

定义

获取或设置将报告给具有辅助功能的客户端应用程序的说明。Gets or sets the description that will be reported to accessibility client applications.

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

属性值

辅助功能客户端应用程序使用的控件说明。The description of the control used by accessibility client applications. 默认值为 nullThe default is null.

注解

对象的AccessibleDescription属性提供有关对象的视觉外观的文本说明。An object's AccessibleDescription property provides a textual description about an object's visual appearance. 描述主要用于为弱视用户或盲人用户提供更大的上下文, 但也可用于上下文搜索或其他应用程序。The description is primarily used to provide greater context for low-vision or blind users, but can also be used for context searching or other applications.

如果AccessibleDescription说明不明显, 或者根据对象的AccessibleNameAccessibleRoleStateValue属性, 则此属性是必需的。The AccessibleDescription property is needed if the description is not obvious, or if it is not redundant based on the object's AccessibleName, AccessibleRole, State, and Value properties. 例如, 标记为 "确定" 的按钮不需要额外信息, 而显示仙人掌图片的按钮将是。For example, a button labeled OK would not need additional information, but a button that shows a picture of a cactus would. 和和 (也许AccessibleObject.Help是仙人掌AccessibleDescription按钮的属性) 将描述其用途, 但属性会传达不太有形的信息, 如 "显示仙人掌图片的按钮"。 AccessibleRole AccessibleNameThe AccessibleName and AccessibleRole and, perhaps, AccessibleObject.Help properties for the cactus button would describe its purpose, but the AccessibleDescription property would convey information that is less tangible, such as "A button that shows a picture of a cactus."

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

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

适用于

另请参阅