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)

Syntax

[BrowsableAttribute(false)]
public AccessibleObject AccessibilityObject { get; }
public:
[BrowsableAttribute(false)]
property AccessibleObject^ AccessibilityObject {
    AccessibleObject^ get();
}
[<BrowsableAttribute(false)>]
member AccessibilityObject : AccessibleObject with get
<BrowsableAttribute(False)>
Public ReadOnly Property AccessibilityObject As AccessibleObject

Property Value

Type: System.Windows.Forms.AccessibleObject

The AccessibleObject that is assigned to the control.

Remarks

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.

Note

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