RanorexRanorex Documentation
Role Class
NamespacesRanorex.CoreRole
Roles are predefined capabilities.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public sealed class Role : Capability
<SerializableAttribute> _
Public NotInheritable Class Role _
	Inherits Capability
[SerializableAttribute]
public ref class Role sealed : public Capability
Members
All MembersMethodsPropertiesFields



IconMemberDescription
Actions
A list of actions, provided as a by-name dictionary.
(Inherited from Capability.)
Attributes
A list of attributes, provided as a by-name dictionary.
(Inherited from Capability.)
Button
Represents a push button.

Cell
Represents a table cell.

CheckBox
Represents a check box that allows the user to select a true or false condition.

Column
Represents a table column.

ComboBox
Represents a combo box control.

Container
Represents a logical container element, such as a panel or groupbox.

ContentAttributeName
The name of the attribute for this capability which represents the content of an element. or null if the capability has no content attribute.
(Inherited from Capability.)
ContextMenu
Represents a context popup menu.

DateTime
Represents a datetime picker or calendar control.

Description
The description of instance the descriptor refers to.
(Inherited from Descriptor.)
Desktop
Represents the operating system desktop.

DisplayName
The name of instance the descriptor refers to, with arbitrary casing.
(Inherited from Descriptor.)
Equals(Capability)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Capability.)
Equals(Object)
Determines whether the specified Object is equal to this instance.
(Inherited from Capability.)
Events
A list of events, provided as a by-name dictionary.
(Inherited from Capability.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Form
Represents an application main window or a dialog window.

GetAllRoles()()()
Returns a list of all available roles.

GetHashCode()()()
Returns a hash code for this instance.
(Inherited from Capability.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Grip
Represents an element that can be moved or dragged, e.g. a size grip for resizing windows or controls.

Host
Represents the host machine running Ranorex.

Icon
An icon representing the capability. Should be 16x16 pixels.
(Inherited from Capability.)
Indicator
Represents the indicator part of a slider or scrollbar.

IsUsefulContainer
If true, the capability represents, from a user interface perspective, a useful/logical container.
(Inherited from Capability.)
LabelAttributeName
The name of the attribute for this capability which acts as a label for an element. or null if the capability has no label attribute.
(Inherited from Capability.)
Link
Represents a hyperlink.

List
Represents a logical list such as a listbox.

ListItem
Represents an item in a list.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MenuBar
Represents a menu bar.

MenuItem
Represents an entry in a menubar or context menu.

Name
The name of instance the descriptor refers to. This is enforced to be lower-case.
(Inherited from Descriptor.)
Picture
Represents a picture, icon, image or diagram.

ProgressBar
Represents a progress bar.

RadioButton
Represents a radio button which enables the user to select a single option from a group of choices.

Row
Represents a table row.

ScrollBar
Represents a vertical or horizontal scroll bar control.

Separator
Represents a separator used for menus and toolbars.

ShortDisplayName
The shorthand display name of this capability. It is not required to be unique.
(Inherited from Capability.)
ShortName
The shorthand name of this capability. It is not required to be unique.
(Inherited from Capability.)
Slider
Represents a slider or trackbar control.

StatusBar
Represents a status bar usually located at the bottom of a form.

Table
Represents a table or grid, consisting of rows and columns.

TabPage
Represents a tab page in a tab page list.

TabPageList
Represents a tab page list.

Text
Represents an edit box, a text area, or static text.

TitleBar
Represents the title bar of a form or dialog window.

ToolBar
Represents a tool bar.

ToolTip
Represents tooltip popup.

ToString()()()
To string.
(Inherited from Capability.)
Tree
Represents a tree control.

TreeItem
Represents an item in a tree.

Unknown
Represents a UI element which cannot be further categorized.

Inheritance Hierarchy

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)