Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlExtendedAttribute.Level Property

Specifies the custom field’s owner.

#Declaration

Delphi

#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.

See Also