SimpleShape.CreateAccessibilityInstance Method ()

 

Creates a new accessibility object for the shape control.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

protected override AccessibleObject CreateAccessibilityInstance()
protected:
virtual AccessibleObject^ CreateAccessibilityInstance() override
override CreateAccessibilityInstance : unit -> AccessibleObject
Protected Overrides Function CreateAccessibilityInstance As AccessibleObject

Return Value

Type: System.Windows.Forms.AccessibleObject

Returns an AccessibleObject class.

Remarks

The CreateAccessibilityInstance method creates an object to provide information that accessibility applications use to adjust an application's user interface (UI) for users who have impairments.

If you do not explicitly call the CreateAccessibilityInstance method, it will be called when the AccessibilityObject property is referenced.

Note

To get or set the AccessibilityObject property, you must add a reference to the Accessibility assembly that is installed with the .NET Framework.

Notes to Inheritors:

When overriding CreateAccessibilityInstance in a derived class, do not call the CreateAccessibilityInstance method of the base class.

See Also

SimpleShape Class
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the Line and Shape Controls (Visual Studio)
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)

Return to top