Redigera

Dela via


Control.AccessibilityObject Property

Definition

Gets the AccessibleObject assigned to the control.

public:
 property System::Windows::Forms::AccessibleObject ^ AccessibilityObject { System::Windows::Forms::AccessibleObject ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.AccessibleObject AccessibilityObject { get; }
[<System.ComponentModel.Browsable(false)>]
member this.AccessibilityObject : System.Windows.Forms.AccessibleObject
Public ReadOnly Property AccessibilityObject As AccessibleObject

Property Value

The AccessibleObject assigned to the control.

Attributes

Remarks

To control the instance returned from this method, override the CreateAccessibilityInstance method.

If no AccessibleObject is currently assigned to the control, a new instance of one is created.

Note

To get or set the AccessibilityObject property, you must add a reference to the Accessibility assembly installed with the.NET Framework.

For more information about accessible objects, see Active Accessibility.

Applies to

See also