GanttChartMappings.InteractionTooltipTextFieldName Property
Gets or sets the data source field (of the String type) that specifies a task’s text in interaction tooltips.
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.2.dll
Declaration
[DefaultValue("")]
[DXCategory("Mappings")]
[XtraSerializableProperty]
public string InteractionTooltipTextFieldName { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | The data source field that specifies a task’s text in interaction tooltips. |
Remarks
The GanttControl.ChartMappings property provides access to data fields mapped to task properties that specify how a task is displayed in the chart area. The TextFieldName property specifies the data field that contains task captions.
The caption is displayed next to the task in the chart area. To obtain a task’s caption in code, you can use the GetText(GanttControlNode), GetText(Int32), and GetText() methods.
You can also handle the CustomTaskDisplayText event, which fires before a task is displayed, to specify a caption dynamically.
A task’s caption can also be displayed in interaction tooltips. You can use the InteractionTooltipTextFieldName
property to specify the data field that contains task captions for tooltips. To obtain a task’s tooltip caption in code, use the GetTooltipText(Int32) method.