DataRepeaterItem.AccessibleRole Property
Gets or sets the accessible role of the control.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Property AccessibleRole As AccessibleRole
Get
Set
[BrowsableAttribute(false)]
public AccessibleRole AccessibleRole { get; set; }
[BrowsableAttribute(false)]
public:
property AccessibleRole AccessibleRole {
AccessibleRole get ();
void set (AccessibleRole value);
}
[<BrowsableAttribute(false)>]
member AccessibleRole : AccessibleRole with get, set
function get AccessibleRole () : AccessibleRole
function set AccessibleRole (value : AccessibleRole)
Property Value
Type: System.Windows.Forms.AccessibleRole
One of the values of AccessibleRole. The default is Default.
Exceptions
Exception | Condition |
---|---|
InvalidEnumArgumentException | The value assigned is not one of the AccessibleRole values. |
Remarks
The AccessibleRole property describes what kind of user interface element an object is. If the control's role cannot be determined, the AccessibleRole property is set to Default.
.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