How to set ScreenTip to show, currently hovered PivotGroupElement, in which RowGroupDescription is located
Environment
Product Version | Product | Author |
---|---|---|
2022.2.622 | RadPivotGrid for WinForms | Dinko Krastev |
Description
An example demonstrating how to check the current mouse-hovered PivotGroupElement, in which RowGroupDescription is located.
Solution
We can subscribe to the ScreenTipNeeded event of the RadPivotGrid control. In the event handler, we can get the currently hovered item. If it is of type PivotGroupElement, we can check if the Data.Axis property is Rows and uses the Data.Group.Level property to extract the corresponding RowGroupDescription from the RowGroupDescriptions collection of the RadPivotGrid.