DataGridViewComboBoxCell.CreateAccessibilityInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.