Clickable Screentips in RadGridView
Environment
Product Version | Product | Author |
---|---|---|
2019.2.917 | RadGridView for WinForms | Desislava Yordanova |
Description
The ScreenTip is a UI feature which consists of a small window that appears when the mouse cursor is hovered over a particular element. By default, each control has a ScreenTipNeeded event which is fired when the mouse hovers over the various elements inside the control. The screen tip extends the tool-tips functionality because it can show many different elements including images.
The screen-tip is supposed to be shown when you hover a cell. The screen-tip itself is not expected to hover it and click an element in it. This tutorial demonstrates how to achieve clickable screen-tips.
Solution
For such cases, you can simply use a ShapedForm (without a title-bar) and add all the controls that you want to see in the screen-tip.
You can create a ShapedForm at design time and produce whatever layout you need. When hovering with the mouse over grid cells, you can simply show this clickable form that simulates the screen-tip.