Back to Devexpress

GanttChartMappings.ConstraintTypeFieldName Property

windowsforms-devexpress-dot-xtragantt-dot-ganttchartmappings-da524004.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
[DefaultValue("ConstraintType")]
[DXCategory("Mappings")]
[XtraSerializableProperty]
public string ConstraintTypeFieldName { get; set; }
vb
<DXCategory("Mappings")>
<DefaultValue("ConstraintType")>
<XtraSerializableProperty>
Public Property ConstraintTypeFieldName As String

Property Value

TypeDefaultDescription
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

Task Constraints

GanttChartMappings Class

GanttChartMappings Members

DevExpress.XtraGantt Namespace