How do I Add a Tooltip To a DataGridTextColumn

datagrid, datagridtextcolumn, tooltip, wpf

Solution

Yes, you can add tooltip text to DataGridTextColumn - just stylize it

<DataGridTextColumn Header="ScreenName" Binding="{Binding ScreenName}" >
    <DataGridTextColumn.CellStyle>
        <Style TargetType="DataGridCell">
            <Setter Property="ToolTip" Value="{Binding Name}" />
        </Style>
    </DataGridTextColumn.CellStyle>
</DataGridTextColumn>

Problem

I'm using WPFtoolkit `DataGrid` ,I have to wrap text in a `DataGridTextColumn` or I have to add a `ToolTip` to the text column. I have searched the net but i couldn't get a proper solution. Expecting your valuable suggestions...

Original source