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
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property AccessibilityObject As AccessibleObject
[BrowsableAttribute(false)]
public AccessibleObject AccessibilityObject { get; }
[BrowsableAttribute(false)]
public:
property AccessibleObject^ AccessibilityObject {
AccessibleObject^ get ();
}
[<BrowsableAttribute(false)>]
member AccessibilityObject : AccessibleObject with get
function get AccessibilityObject () : 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)