Back to Devexpress

GanttView.TaskFinishDateMoveToolTipContentTemplate Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-60f9ea2a.md

latest2.4 KB
Original Source

GanttView.TaskFinishDateMoveToolTipContentTemplate Property

Gets or sets a data template used to render the content of a tooltip displayed while an end user edits a task’s finish date in the Gantt area. This is a dependency property.

Namespace : DevExpress.Xpf.Gantt

Assembly : DevExpress.Xpf.Gantt.v25.2.dll

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public DataTemplate TaskFinishDateMoveToolTipContentTemplate { get; set; }
vb
Public Property TaskFinishDateMoveToolTipContentTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object that defines the tooltip appearance.

|

Remarks

The code sample below demonstrates how to change a tooltip displayed when an end user changes a task’s finish date:

xaml
<Window ...
    xmlns:dxgn="http://schemas.devexpress.com/winfx/2008/xaml/gantt"
    xmlns:dxgni="http://schemas.devexpress.com/winfx/2008/xaml/gantt/internal">

...
<dxgn:GanttControl ...>
    <dxgn:GanttControl.View>
        <dxgn:GanttView ...>
            <dxgn:GanttView.TaskFinishDateMoveToolTipContentTemplate>
                <DataTemplate DataType="{x:Type dxgni:GanttTaskEditToolTipInfo}">
                    <Grid>
                        <!-- The tooltip displays the "Task: " text and a task header
                        (the GanttTaskEditToolTipInfo.Header property value) -->
                        <TextBlock Text="{DXBinding '`Task: ` + Header'}" />
                    </Grid>
                </DataTemplate>
            </dxgn:GanttView.TaskFinishDateMoveToolTipContentTemplate>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl>

See Also

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace