RanorexRanorex Documentation
Capability Class
NamespacesRanorex.CoreCapability
A capability is a logical grouping of actions, attributes and events which belong together.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public class Capability : Descriptor, IEquatable<Capability>
<SerializableAttribute> _
Public Class Capability _
	Inherits Descriptor _
	Implements IEquatable(Of Capability)
[SerializableAttribute]
public ref class Capability : public Descriptor, 
	IEquatable<Capability^>
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
Capability(String, String, String, Image, Boolean, IList<(Of <(ActionDescriptor>)>), IList<(Of <(AttributeDescriptor>)>), IList<(Of <(EventDescriptor>)>))
Creates a new capability.

Capability(String, String, Image, Boolean, IList<(Of <(ActionDescriptor>)>), IList<(Of <(AttributeDescriptor>)>), IList<(Of <(EventDescriptor>)>), String, String)
Creates a new capability.

Capability(String, String, String, Image, Boolean, IList<(Of <(ActionDescriptor>)>), IList<(Of <(AttributeDescriptor>)>), IList<(Of <(EventDescriptor>)>), String, String)
Creates a new capability.

Actions
A list of actions, provided as a by-name dictionary.

Attributes
A list of attributes, provided as a by-name dictionary.

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

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.

Description
The description of instance the descriptor refers to.
(Inherited from Descriptor.)
DisplayName
The name of instance the descriptor refers to, with arbitrary casing.
(Inherited from Descriptor.)
Equality(Capability, Capability)
Implements the operator ==.

Equals(Capability)
Indicates whether the current object is equal to another object of the same type.

Equals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides Object.Equals(Object).)
Events
A list of events, provided as a by-name dictionary.

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.)
GetHashCode()()()
Returns a hash code for this instance.
(Overrides Object.GetHashCode()()().)
GetPredefinedCapabilities()()()
Returns a list of predefined capabilites.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Icon
An icon representing the capability. Should be 16x16 pixels.

Inequality(Capability, Capability)
Implements the operator !=.

IsUsefulContainer
If true, the capability represents, from a user interface perspective, a useful/logical container.

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.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
The name of instance the descriptor refers to. This is enforced to be lower-case.
(Inherited from Descriptor.)
ShortDisplayName
The shorthand display name of this capability. It is not required to be unique.

ShortName
The shorthand name of this capability. It is not required to be unique.

ToString()()()
To string.
(Overrides Descriptor.ToString()()().)
Inheritance Hierarchy
Object
Descriptor
 Capability
  Role

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