Bewerken

Delen via


DataGrid.CreateAccessibilityInstance Method

Definition

Constructs a new instance of the accessibility object for this control.

protected:
 override System::Windows::Forms::AccessibleObject ^ CreateAccessibilityInstance();
protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance ();
override this.CreateAccessibilityInstance : unit -> System.Windows.Forms.AccessibleObject
Protected Overrides Function CreateAccessibilityInstance () As AccessibleObject

Returns

The Control.ControlAccessibleObject for this control.

Remarks

Derived classes should not call the base class's CreateAccessibilityInstance method.

Only the following properties of the AccessibleObject should be set:

All other properties are handled by the System.Windows.Forms.DataGrid itself.

Applies to

See also