Category / Section
How to increase or decrease the tooltip delay time in WinForms GridGroupingControl?
1 min read
Tooltip
In order to increase or decrease tooltip visible state time, CellToolTip.AutomaticDelay property can be used directly. The CellToolTip property can be accessed through TableControl.
C#
//Form() //Sets the automatic delay time period for tooltip. this.gridGroupingControl1.TableControl.CellToolTip.AutomaticDelay = 1000; this.gridGroupingControl1.QueryCellStyleInfo += gridGroupingControl1_QueryCellStyleInfo; void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e) { //Sets the ToolTip text. e.Style.CellTipText = "ToolTipText"; }
VB
'Form 'Sets the automatic delay time period for tooltip. Me.gridGroupingControl1.TableControl.CellToolTip.AutomaticDelay = 1000 AddHandler Me.gridGroupingControl1.QueryCellStyleInfo, AddressOf gridGroupingControl1_QueryCellStyleInfo Private Sub gridGroupingControl1_QueryCellStyleInfo(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs) 'Sets the ToolTip text. e.Style.CellTipText = "ToolTipText" End Sub
Samples:
C#: ToolTip Delay_CS
VB: ToolTip Delay_VB
Reference link: https://help.syncfusion.com/windowsforms/classic/gridgroupingcontrol/tooltip