Shape.AccessibilityObject Property


Gets the AccessibleObject that is assigned to the control.

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


public AccessibleObject AccessibilityObject { get; }
property AccessibleObject^ AccessibilityObject {
    AccessibleObject^ get();
member AccessibilityObject : AccessibleObject with get
Public ReadOnly Property AccessibilityObject As AccessibleObject

Property Value

Type: System.Windows.Forms.AccessibleObject

The AccessibleObject that is assigned to the control.


To control the instance returned from this method, override the CreateAccessibilityInstance method.

If no AccessibleObject is currently assigned to the control, a new instance of the object is created.


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

For more information about accessible objects, see the Windows Forms Accessibility.

See Also

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

Return to top