Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1285
How to achieve balloontooltip in cellvaluePresenter style
posted

Hi,

I need to achieve the balloontooltip when i mouseover on particular cell.

How i achieve the same through cellvaluepresenterstyle ?

I am using xamDatagrid of 12.2 version.

Could any one can help me to achieve my requirement?

Thanks

Parents
No Data
Reply
  • 3520
    Offline posted

    Hello Chandra,

    The following style will show a tooltip with the cell's value itself when hovering over any cell in the XamDataGrid:

    <Style TargetType="ig:CellValuePresenter" >            

    <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self}, Path=Value}" />

    </Style>

    However, if the tootip is necessary on a specific field only, you may add a key to the style, then apply it to the desired field through the CellValuePresenterStyle property of FieldSettings object, e.g.:

     <Style TargetType="ig:CellValuePresenter" x:Key="toolTipStyle">

    ...

    <ig:FieldSettings CellValuePresenterStyle="{StaticResource toolTipStyle}" />

    If you need any further assistance please do not hesitate to ask.

     

     

     

Children