WPF DataGridにツールチップを表示していますが、データを含むセルのサイズより大きくならないようにツールチップの幅をカスタマイズしたいと思います。パスを「幅」と「実際の幅」に設定しようとしましたが、両方が無視されます。私は何が間違っているのですか?
<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>