System.Windows.Forms.Control.CreateAccessibilityInstance Method

Creates a new accessibility object for the control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected virtual AccessibleObject CreateAccessibilityInstance ()

Returns

A new System.Windows.Forms.AccessibleObject for the control.

Remarks

If you do not explicitly call the Control.CreateAccessibilityInstance method, it will be called when the Control.AccessibilityObject property is referenced.

Note:

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0