menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DrawToolTipItemEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DrawToolTipItemEventArgs

    Provides data about the event on drawing the tooltip item.

    Inheritance
    System.Object
    DrawToolTipItemEventArgs
    Namespace: Syncfusion.WinForms.Controls.Events
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    [ComVisible(false)]
    public sealed class DrawToolTipItemEventArgs : CancelEventArgs
    Remarks

    To abort the default drawing of the tooltip item, set property to true.

    Constructors

    DrawToolTipItemEventArgs(Graphics, Rectangle, ToolTipItem)

    Initializes a new instance of the DrawToolTipItemEventArgs class.

    Declaration
    public DrawToolTipItemEventArgs(Graphics graphics, Rectangle toolTipItemRectangle, ToolTipItem toolTipItem)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    An System.Drawing.Graphics object that contains graphics data of tooltip.

    System.Drawing.Rectangle toolTipItemRectangle

    The rectangle of the tooltip item.

    ToolTipItem toolTipItem

    An ToolTipItem object.

    Properties

    Graphics

    Gets the graphics of the tooltip.

    Declaration
    public Graphics Graphics { get; }
    Property Value
    Type
    System.Drawing.Graphics

    ToolTipItem

    Gets the ToolTipItem to be drawn.

    Declaration
    public ToolTipItem ToolTipItem { get; }
    Property Value
    Type
    ToolTipItem

    ToolTipItemRectangle

    Gets the rectangle of the tooltip item.

    Declaration
    public Rectangle ToolTipItemRectangle { get; }
    Property Value
    Type
    System.Drawing.Rectangle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved