WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolTipControl

    Show / Hide Table of Contents

    Class ToolTipControl

    Inheritance
    System.Object
    BaseControl
    ToolTipControl
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    Inherited Members
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.GetActiveThemeName()
    BaseControl.OnThemeNameChanged(String)
    BaseControl.GetControlName(String)
    BaseControl.OnCanApplyThemeChanged(Boolean)
    BaseControl.OnCanOverrideStyleChanged(Boolean)
    BaseControl.ThemeName
    BaseControl.CanOverrideStyle
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.CanApplyTheme
    BaseControl.ControlName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.IsVisualStyleEnabled
    BaseControl.ThemeNameChanged
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ToolTipControl : BaseControl, IThemeProvider, IVisualStyle, IDisposable

    Constructors

    ToolTipControl()

    Creates instance of child control for designer

    Declaration
    public ToolTipControl()

    ToolTipControl(SuperToolTip)

    Creates instance of tooltip control

    Declaration
    public ToolTipControl(SuperToolTip tipsProvider)
    Parameters
    Type Name Description
    SuperToolTip tipsProvider

    Fields

    m_bGradientBackGround

    Declaration
    public bool m_bGradientBackGround
    Field Value
    Type Description
    System.Boolean

    Properties

    CreateParams

    Declaration
    protected override CreateParams CreateParams { get; }
    Property Value
    Type Description
    System.Windows.Forms.CreateParams

    DisplayTime

    Gets delay time in milliseconds

    Declaration
    public int DisplayTime { get; }
    Property Value
    Type Description
    System.Int32

    GradientBackGround

    Declaration
    public bool GradientBackGround { get; set; }
    Property Value
    Type Description
    System.Boolean

    Info

    Declaration
    public ToolTipInfo Info { get; set; }
    Property Value
    Type Description
    ToolTipInfo

    InitialDelay

    Declaration
    public int InitialDelay { get; set; }
    Property Value
    Type Description
    System.Int32

    LayoutEngine

    Declaration
    public override LayoutEngine LayoutEngine { get; }
    Property Value
    Type Description
    System.Windows.Forms.Layout.LayoutEngine

    MaxWidth

    Declaration
    public int MaxWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    Style

    Gets or sets the style.

    Declaration
    public SuperToolTip.SuperToolTipStyle Style { get; set; }
    Property Value
    Type Description
    SuperToolTip.SuperToolTipStyle

    The style.

    ToolTipDuration

    Gets/sets delay time in seconds

    Declaration
    public int ToolTipDuration { get; set; }
    Property Value
    Type Description
    System.Int32

    UseFading

    Declaration
    public SuperToolTip.FadingType UseFading { get; set; }
    Property Value
    Type Description
    SuperToolTip.FadingType

    Methods

    AddTool(Component)

    Declaration
    public void AddTool(Component tool)
    Parameters
    Type Name Description
    System.ComponentModel.Component tool

    AddToolTipService(Type, IToolTipService)

    Declaration
    public void AddToolTipService(Type componentType, IToolTipService service)
    Parameters
    Type Name Description
    System.Type componentType
    IToolTipService service

    Contains(IntPtr)

    Declaration
    public bool Contains(IntPtr hWnd)
    Parameters
    Type Name Description
    System.IntPtr hWnd
    Returns
    Type Description
    System.Boolean

    DelTool(Component)

    Declaration
    public void DelTool(Component tool)
    Parameters
    Type Name Description
    System.ComponentModel.Component tool

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    GetToolTipService(Type)

    Declaration
    public IToolTipService GetToolTipService(Type componentType)
    Parameters
    Type Name Description
    System.Type componentType
    Returns
    Type Description
    IToolTipService

    HideToolTip()

    Declaration
    public void HideToolTip()

    OnHandleCreated(EventArgs)

    Declaration
    protected override void OnHandleCreated(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnLocationChanged(EventArgs)

    Declaration
    protected override void OnLocationChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnPaintBackground(PaintEventArgs)

    Declaration
    protected override void OnPaintBackground(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnSizeChanged(EventArgs)

    Declaration
    protected override void OnSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    ResetBackColor()

    Declaration
    public override void ResetBackColor()

    ShowToolTip(ToolTipInfo, Point, Int32)

    Declaration
    public void ShowToolTip(ToolTipInfo ttInfo, Point position, int displayTime)
    Parameters
    Type Name Description
    ToolTipInfo ttInfo
    System.Drawing.Point position
    System.Int32 displayTime

    WndProc(ref Message)

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    Events

    Popup

    Declaration
    public event EventHandler Popup
    Event Type
    Type Description
    System.EventHandler

    PopupToolTip

    Declaration
    public event PopupToolTipHandler PopupToolTip
    Event Type
    Type Description
    PopupToolTipHandler

    PropertyChanged

    Declaration
    public event ToolTipPropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    ToolTipPropertyChangedEventHandler

    UpdateToolTip

    Declaration
    public event UpdateToolTipHandler UpdateToolTip
    Event Type
    Type Description
    UpdateToolTipHandler

    Implements

    IThemeProvider
    IVisualStyle
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved