DomainUpDown.DomainUpDownAccessibleObject.Name 属性

定义

获取或设置可访问对象描述的控件名称。Gets or sets the name of the control that the accessible object describes.

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

属性值

String

可访问对象描述的控件名称。The name of the control that the accessible object describes.

注解

为了获取 .NET Framework 4.7.1 中引入的辅助功能改进,需要在 .NET Framework 4.7.1 或更高版本上运行应用程序,并执行以下操作之一:In order to get the accessibility improvements introduced with .NET Framework 4.7.1, applications need to be running on the .NET Framework 4.7.1 or later versions and do one of the following:

  • 重新编译应用程序以面向 .NET Framework 4.7.1。Recompile the application to target the .NET Framework 4.7.1.

  • 使用 AppCompat 开关选择加入这些 .NET Framework 辅助功能增强功能。Opt in to these .NET Framework accessibility enhancements by using an AppCompat switch.

有关详细信息,请参阅 Windows 窗体控件中的辅助功能改进For more information, see Accessibility improvements in Windows Forms controls.

适用于