Category / Section
What is the use of ShowMode property in the OutliningTooltipBeforePopup event handler in WinForms SyntaxEditor (EditControl)?
Popup event
The ShowMode property of OutliningTooltipBeforePopupEventArgs in the OutliningTooltipBeforePopup event allows you to cancel the OutliningTooltip. This is illustrated in the code below.
C#
private void editControl1_OutliningTooltipBeforePopup(object sender, Syncfusion.Windows.Forms.Edit.OutliningTooltipBeforePopupEventArgs e)
{
e.ShowMode=OutliningTooltipShowMode.Off;
}
VB
Private Sub editControl1_OutliningTooltipBeforePopup(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Edit.OutliningTooltipBeforePopupEventArgs) Handles editControl1.OutliningTooltipBeforePopup e.ShowMode = OutliningTooltipShowMode.Off End Sub
Reference link: https://help.syncfusion.com/windowsforms/syntax-editor/text-visualization#outlining