AttributeDescriptor Class |
Namespace: Ranorex.Core
The AttributeDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
| AttributeDescriptor(String, String, Type, Int32) |
Creates a new (read-only) element attribute descriptor.
| |
| AttributeDescriptor(String, String, Type, Int32, Boolean) |
Creates a new element attribute descriptor.
| |
| AttributeDescriptor(String, String, Type, Int32, Boolean, Int32) |
Creates a new element attribute descriptor.
|
| Name | Description | |
|---|---|---|
| Container |
Gets the capability containing this attribute.
| |
| Description |
The description of instance the descriptor refers to.
(Inherited from Descriptor.) | |
| DisplayName |
The name of the instance the descriptor refers to, with arbitrary casing.
(Inherited from Descriptor.) | |
| Name |
The name of the instance the descriptor refers to. This is enforced to be lower-case.
(Inherited from Descriptor.) | |
| ReadOnly |
Gets a value specifying if the attribute value is read-only.
| |
| TruncationLength |
Gets or sets the maximum length of the string representation of an attribute value
when used in RxPaths. If the length of the string representation of the attribute value
is greater than this value, the string representation is truncated at the next word boundary
(extending truncation length up to 100% of the configured value) and converted to a StartsWith expression.
| |
| ValueType |
The type of the attribute value. The type should provide a useful ToString() implementation, and additionally,
a useful explicit cast from String.
|
| Name | Description | |
|---|---|---|
| CompareTo |
Compares the current descriptor with another descriptor.
(Inherited from Descriptor.) | |
| Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Inherited from Descriptor.) | |
| Equals(Descriptor) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from Descriptor.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Returns a hash code for this instance.
(Inherited from Descriptor.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ResolveWeight |
Resolves the weight.
| |
| ToString |
Creates a string representation.
(Inherited from Descriptor.) |
| Name | Description | |
|---|---|---|
| GlobalWeightResolving |
Occurs when the weight for any registered attribute needs to be resolved.
Intended to be used by plugins to dynamically change weights based on context.
| |
| WeightResolving |
Occurs when the weight for this attribute needs to be resolved.
Intended to be used by plugins to dynamically change weights based on context.
|