This question is locked. New answers and comments are not allowed.
Hi All,
I'm trying to add a tooltip to my GridViewDataColumn's Header, but the tooltip never appears and I get no binding error. Can you tell me if this is the proper approach?
Cheers,
Scott
Code below:
<telerik:GridViewDataColumn DataMemberBinding="{Binding SnmPerformance}" UniqueName="SnmPerformance"
DataFormatString="n1" TextAlignment="Right" HeaderTextAlignment="Right"
Width="80" IsFilterable="False" IsSortable="True" >
<telerik:GridViewDataColumn.Header>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="SNM Performance" TextWrapping="Wrap" ToolTipService.ToolTip="{Binding DataLastUpdatedText, Mode=OneWay}" />
<telerik:RadButton Grid.Column="1" Click="btnSnmPerformanceColumnExpandClickHandler" Style="{StaticResource ColumnHeaderExpanderButtonStyle}" />
</Grid>
</telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>
I'm trying to add a tooltip to my GridViewDataColumn's Header, but the tooltip never appears and I get no binding error. Can you tell me if this is the proper approach?
Cheers,
Scott
Code below:
<telerik:GridViewDataColumn DataMemberBinding="{Binding SnmPerformance}" UniqueName="SnmPerformance"
DataFormatString="n1" TextAlignment="Right" HeaderTextAlignment="Right"
Width="80" IsFilterable="False" IsSortable="True" >
<telerik:GridViewDataColumn.Header>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="SNM Performance" TextWrapping="Wrap" ToolTipService.ToolTip="{Binding DataLastUpdatedText, Mode=OneWay}" />
<telerik:RadButton Grid.Column="1" Click="btnSnmPerformanceColumnExpandClickHandler" Style="{StaticResource ColumnHeaderExpanderButtonStyle}" />
</Grid>
</telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>