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
4133
Adjusting ToolTip Width Of Grid Group Headers
posted

When I hover over a grid group header the tooltip that pops up displays over the entire width of my monitor.  Is there a way to limit this?  What type of UIElement is a grid group header?

  • 69832
    Offline posted

    There is no publicly exposed way to constrain the width of the tooltip, but you could hack around this using a creation filter...in order to make sure this would work I had to implement it so I attached it here. Assign an instance of this class to the grid's CreationFilter property; what it does is replace the element's IToolTipItem implementation with something that sets the tooltip's maximum width.