How do i enable a tooltip for a specific column only which upon hover should show its content (cell content) ?
HI,
Here is the xaml:
<Grid Name="layoutroot">
<Grid.Resources>
<Style x:Key="columnstyle" TargetType="{x:Type igDP:CellValuePresenter}">
<Setter Property="ToolTip" Value="{Binding Path=DataItem.ISCHECKED}"/>
</Style>
</Grid.Resources>
<igDP:XamDataGrid Name="xgrid1" DataSource="{Binding People}">
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings AutoGenerateFields="False" />
</igDP:XamDataGrid.FieldLayoutSettings>
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout>
<igDP:Field Name="Name"/>
<igDP:Field Name="Age">
<igDP:Field.Settings>
<igDP:FieldSettings CellValuePresenterStyle="{StaticResource columnstyle}"/>
</igDP:Field.Settings>
</igDP:Field>
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts>
</igDP:XamDataGrid>
Name, Age, ISCHECKED are all properties in the class that is bound to the XamDataGrid.
Sincerely,
Matt
Developer Support Engineer