TdxGanttControlExtendedAttribute.Level Property
Specifies the custom field’s owner.
Declaration
property Level: TdxGanttControlExtendedAttributeLevel read;
Property Value
Type | Description |
---|---|
TdxGanttControlExtendedAttributeLevel | Enumerates custom field levels. |
Remarks
Use this property to associate the custom field with any of the following elements:
Attributes that define chart structure are stored in an XML file. You can open this file in a text editor and use the FieldID
attribute to obtain information about the field owner. Custom fields have different IDs depending on which elements they belong to:
Level | Field ID Range |
---|---|
Task | 188776448–188841983 |
Resource | 205553664–205619199 |
Assignment | 255868928–255869128 |
The XML structure below shows that the Text1 custom field is associated with a resource and a task.
<ExtendedAttributes>
<ExtendedAttribute>
<FieldID>205520904</FieldID>
<FieldName>Text1</FieldName>
<Alias>Comment</Alias>
</ExtendedAttribute>
<ExtendedAttribute>
<FieldID>188743731</FieldID>
<FieldName>Text1</FieldName>
<Alias>Comment</Alias>
</ExtendedAttribute>
</ExtendedAttributes>
Launch the Extended Attributes product demo and see the Resource Sheet View and Chart View.
Note
All attributes (except for Alias
and FieldName
) support the internal infrastructure and is not intended for direct use.