I am displaying a tooltip in a WPF DataGrid but I want to customize the width of it so it is no larger then the size of the cell containing the data. I tried setting the Path to "Width" and "ActualWidth" but it ignores them both. What am I doing wrong?
<DataGridTextColumn Binding="{Binding Description}" Header="Message" Width="*">
<DataGridTextColumn.ElementStyle>
<Style TargetType="{x:Type TextBlock}">
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="ToolTipService.ShowDuration" Value="60000" />
<Setter Property="ToolTip">
<Setter.Value>
<TextBlock TextWrapping="Wrap"
Width="{Binding RelativeSource={RelativeSource AncestorType=DataGridCell}, Path=ActualWidth}"
Text="{Binding Description}" />
</Setter.Value>
</Setter>
</Trigger>
</Style.Triggers>
</Style>
</DataGridTextColumn.ElementStyle>
</DataGridTextColumn>