Bewerken

Share via


DataGridViewTextBoxEditingControl.CreateAccessibilityInstance Method

Definition

Creates a new AccessibleObject for this DataGridViewTextBoxEditingControl instance.

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

A new AccessibleObject instance that supports the ControlType UIA property.

Remarks

The new AccessibleObject object is only available in applications that are recompiled to target versions of the .NET Framework starting with the .NET Framework 4.7.2. Applications that target an earlier version of the .NET Framework but are running on the .NET Framework 4.7.2 can opt in to this feature by using a compatibility switch. For additional information, see What's New in Accessibility in the .NET Framework.

Applies to