wpf-devexpress-dot-xpf-dot-gantt-dot-striplinebase-42678275.md
Gets or sets the template used to represent a strip line’s tooltip on-screen. This is a dependency property.
Namespace : DevExpress.Xpf.Gantt
Assembly : DevExpress.Xpf.Gantt.v25.2.dll
NuGet Package : DevExpress.Wpf.Gantt
public DataTemplate ToolTipTemplate { get; set; }
Public Property ToolTipTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A DataTemplate object that is the corresponding template.
|
TargetType : ToolTip
Tooltip’s DataContext: StripLineToolTipData
<dxgn:CurrentDateTimeStripLine ToolTip="Current time">
<dxgn:CurrentDateTimeStripLine.ToolTipTemplate>
<DataTemplate>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="70" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="Start:" />
<TextBlock Grid.Row="1" Grid.Column="0" Text="End:" />
<TextBlock Grid.Row="2" Grid.Column="0" Text="Duration:" />
<TextBlock Grid.Row="3" Grid.Column="0" Text="ToolTip:" />
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Start}" />
<TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding End}" />
<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Duration}" />
<TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding ToolTip}" />
</Grid>
</DataTemplate>
</dxgn:CurrentDateTimeStripLine.ToolTipTemplate>
</dxgn:CurrentDateTimeStripLine>
See Also