How to add ToolTip to the ExtendedDataGrid Column header

Feb 18, 2014 at 1:28 PM
Edited Feb 18, 2014 at 1:29 PM
I have found how to add tooltip in normal wpf DataGrid,

http://stackoverflow.com/questions/1164288/how-do-i-add-tooltip-to-a-datagridtextcolumn

But not very sure how to do this on ExtendedDataGrid, I have tried, but seems not working
            <ExtendedColumn:ExtendedDataGridTextColumn x:Name="CleanPrice" Header="Clean Price"  AllowAutoFilter="True" 
                                       Binding="{Binding CleanPrice}">
                <ExtendedColumn:ExtendedDataGridTextColumn.CellStyle>
                    <Style TargetType="DataGridCell">
                        <Setter Property="ToolTip" Value="Clean Price ToolTip" />
                    </Style>
                </ExtendedColumn:ExtendedDataGridTextColumn.CellStyle>
            </ExtendedColumn:ExtendedDataGridTextColumn>
Coordinator
Feb 18, 2014 at 4:54 PM
Use this
                <ExtendedColumn:ExtendedDataGridTextColumn.CellStyle>
                    <Style TargetType="__Controls:DataGridCell__">
                        <Setter Property="ToolTip" Value="Clean Price ToolTip" />
                    </Style>
                </ExtendedColumn:ExtendedDataGridTextColumn.CellStyle>
xmlns:Controls="clr-namespace:ExtendedGrid.Microsoft.Windows.Controls;assembly=ExtendedGrid"

You choosed System.DataGrid.DatagridCell use ExtendedGrid one instead.

Regards,
bpoojary