Επεξεργασία

Κοινή χρήση μέσω


DataGridViewComboBoxCell.CreateAccessibilityInstance Method

Definition

Creates a new AccessibleObject for this DataGridViewComboBoxCell 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 AccessibleObject instance that supports the ControlType UI Automation property.

Remarks

The AccessibleObject object returned by the CreateAccessibilityInstance method supports the ControlType UI automation property only in applications that are recompiled to target versions of the .NET Framework starting with .NET Framework 4.7.2. Applications that target an earlier version of the .NET Framework but are running on .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