Skip to main content
All docs
V24.2

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

GanttChartMappings.ConstraintTypeFieldName Property

Gets or sets the data source field (of the ConstraintType or Int32 type) that specifies a task’s constraint type.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

[DefaultValue("ConstraintType")]
[DXCategory("Mappings")]
[XtraSerializableProperty]
public string ConstraintTypeFieldName { get; set; }

#Property Value

Type Default Description
String "ConstraintType"

A field name.

#Remarks

The DataSource property specifies the data source that contains tasks. Use the ConstraintTypeFieldName property to specify the name of the field that stores types of constraints applied to the tasks.

The field’s data type should be either ConstraintType or Int32. The ConstraintType enumeration is a set of named integer constants. You can store constraint types as integers in the data source.

See Also