[Question] How to add vertex tooltip in windows form project
nugrahawahyu opened this issue · 2 comments
nugrahawahyu commented
I want to add tooltip to every vertex (windows form project), any help would be appreciated.
panthernet commented
You have to use XAML template to achieve this, specificaly add the content to the VertexControl ToolTip property. Please look here: https://github.com/panthernet/GraphX/blob/PCL/Examples/ShowcaseApp.WPF/Templates/ThemedGraphXTemplates.xaml#L97
It adds the tooltip for vertices in Themed Graph showcase in ShowcaseApp.WPF project.
nugrahawahyu commented
Thank you very much. But how to bind vertex's data to the tooltip?
Edit - I figured it out, thank you again.