Redigeeri

Jagamisviis:


ToolStripDropDownButton.CreateAccessibilityInstance Method

Definition

Creates a new accessibility object for this ToolStripDropDownButton 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 accessibility object for this ToolStripDropDownButton instance.

Remarks

The AccessibleObject instance returned by this method supports the UI Automation expand/collapse pattern. However, it's only available in applications that are running on the .NET Framework 4.7.1 or later versions and are either recompiled to target the .NET Framework 4.7.1 or opt in to this .NET Framework accessibility enhancements by using an AppCompat switch. For more information, see the migration guide.

Applies to