Control.AccessibleDefaultActionDescription 属性
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置控件的默认操作说明以供具有辅助功能的客户端应用程序使用。
public:
property System::String ^ AccessibleDefaultActionDescription { System::String ^ get(); void set(System::String ^ value); };
C#
[System.ComponentModel.Browsable(false)]
public string AccessibleDefaultActionDescription { get; set; }
C#
[System.ComponentModel.Browsable(false)]
public string? AccessibleDefaultActionDescription { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.AccessibleDefaultActionDescription : string with get, set
Public Property AccessibleDefaultActionDescription As String
控件的默认操作说明,供辅助功能客户端应用程序使用。
- 属性
对象的 AccessibleDefaultActionDescription 属性描述对象从用户的角度操作的主要方法。 此属性应为谓词或短谓词短语。
备注
并非所有对象都有默认操作,某些对象可能具有与其属性相关的 AccessibleObject.Value 默认操作,如以下示例所示:
所选复选框的默认操作为“取消选中”,值为“已选中”。
清除的复选框的默认操作为“Check”,值为“未选中”。
标记为“打印”的按钮的默认操作为“按”,没有值。
显示“Printer”的标签或文本框控件没有默认操作,但具有“Printer”的值。
有关可访问对象的属性的详细信息,请参阅 描述性属性的内容。
产品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |