Struct KnownAttributeKey
Contains attribute keys for use in the DynamicProperty.Attributes collection. Attributes with these keys are used for value validation and user interface hints.
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public struct KnownAttributeKey
Fields
AddToDisplayName
Indicates that the value of the property should be added to the DisplayName of the parent component.
Declaration
public static readonly string AddToDisplayName
Field Value
Type | Description |
---|---|
String |
AllowedCharacters
Indicates the allowed characters in a string property.
Declaration
public static readonly string AllowedCharacters
Field Value
Type | Description |
---|---|
String |
AllowedTypes
Indicates additional restrictions on the allowed type.
Declaration
public static readonly string AllowedTypes
Field Value
Type | Description |
---|---|
String |
AllowedValues
Indicates the allowed values for a numeric or string property. Value must be a list delimited by semicolons.
Declaration
public static readonly string AllowedValues
Field Value
Type | Description |
---|---|
String |
Remarks
Properties with this attribute set will be displayed as a dropdown.
AllowParent
Indicates that the component that owns the property is a valid value (by default it is not).
Declaration
public static readonly string AllowParent
Field Value
Type | Description |
---|---|
String |
AutoApply
Indicates that the property value should be applied immediately when it is changed in the GUI, rather than when the user clicks "Apply" or equivalent.
Declaration
public static readonly string AutoApply
Field Value
Type | Description |
---|---|
String |
CustomValidation
Indicates that QueryPropertyValueValid() should be called to validate the value.
Declaration
public static readonly string CustomValidation
Field Value
Type | Description |
---|---|
String |
DisplayValues
Indicates alternative display values for a property. Value must be a list delimited by semicolons with the same number of elements as the AllowedValues attribute.
Declaration
public static readonly string DisplayValues
Field Value
Type | Description |
---|---|
String |
MaxLength
Indicates the maximum length of a string property. Value must be an integer.
Declaration
public static readonly string MaxLength
Field Value
Type | Description |
---|---|
String |
MaxValue
Indicates the maximum value for a numeric property. Value must be a number.
Declaration
public static readonly string MaxValue
Field Value
Type | Description |
---|---|
String |
MinLength
Indicates the minimum length of a string property. Value must be an integer.
Declaration
public static readonly string MinLength
Field Value
Type | Description |
---|---|
String |
MinValue
Indicates the minium value for a numeric property. Value must be a number.
Declaration
public static readonly string MinValue
Field Value
Type | Description |
---|---|
String |
Multiline
Indicates that a string property can have multiple lines.
Declaration
public static readonly string Multiline
Field Value
Type | Description |
---|---|
String |
NoDefaultInitialization
Indicates that a property should not be initialized to a default value when it is added to a component.
Declaration
public static readonly string NoDefaultInitialization
Field Value
Type | Description |
---|---|
String |
Quantity
Indicates the quantity that a numeric property represents.
Declaration
public static readonly string Quantity
Field Value
Type | Description |
---|---|
String |
Remarks
Value must be a member of the BuiltinQuantity enumeration.
Reference
Indicates the reference coordinate system of a Vector3 or Matrix4 property. Valid values are Global and Local.
Declaration
public static readonly string Reference
Field Value
Type | Description |
---|---|
String |
Slider
Indicates that a numeric property should be displayed as a slider.
Declaration
public static readonly string Slider
Field Value
Type | Description |
---|---|
String |
Remarks
Requires that MinValue and MaxValue are also set.
ValueFilter
Specifies a regular expression used to verify the property value (converted to a string).
Declaration
public static readonly string ValueFilter
Field Value
Type | Description |
---|---|
String |
VectorUsage
Indicates the usage of a Vector3 property. Valid values are Position and Direction.
Declaration
public static readonly string VectorUsage
Field Value
Type | Description |
---|---|
String |