All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttView.MilestoneMoveToolTipContentTemplate Property

Gets or sets a data template used to render the content of a tooltip displayed while an end user moves a milestone in the Gantt area. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

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

Declaration

public DataTemplate MilestoneMoveToolTipContentTemplate { get; set; }

Property Value

Type Description
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 moves a milestone:

<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.MilestoneMoveToolTipContentTemplate>
                <DataTemplate DataType="{x:Type dxgni:GanttTaskEditToolTipInfo}">
                    <Grid>
                        <!-- The tooltip displays the "Milestone: " text and a milestone header
                        (the GanttTaskEditToolTipInfo.Header property value) -->
                        <TextBlock Text="{DXBinding '`Milestone: ` + Header'}" />
                    </Grid>
                </DataTemplate>
            </dxgn:GanttView.MilestoneMoveToolTipContentTemplate>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl>
See Also