Skip to main content
A newer version of this page is available. .
All docs
V21.1

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.v21.1.dll

NuGet Packages: DevExpress.Win.Design, 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