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
1925
xamDiagram tooltip style
posted

Hi 

I am not able to see tooltip style for xamDiagram similar to the one available for XamDataChart Series. Can you please suggest best way to customize tooltip for xamDiagram's node?

I would like to have a callout style tooltip with multiple values from binding object of the node.

Thanks.

Parents
No Data
Reply
  • 29085
    Offline posted

    Hello Abs,

    Thank you for contacting Infragistics. You can restyle the Tooltip property on the DiagramNode.

    For example, if you want to show another property related as the tooltip value when the mouse is hovered you can acquire the underlying data object by using the Content Property and set the Path accordingly.

    eg.

      <Style TargetType="{x:Type ig:DiagramNode}"
                    x:Key="EmpNode"
                   BasedOn="{StaticResource {x:Type ig:DiagramNode}}">
               
                <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self}, Path=Content.EmpType}"></Setter>
       </Style>

    Let me know if you have any questions regarding this matter.

Children