Search Results for

    Show / Hide Table of Contents

    Class ToolTipDrawEventArgs

    EventArgs which allows to handle ToolTip drawing

    Inheritance
    System.Object
    System.EventArgs
    ToolTipDrawEventArgs
    Namespace: FastReport.BG.Common
    Assembly: FastReport.BG.dll
    Syntax
    public class ToolTipDrawEventArgs : EventArgs

    Constructors

    ToolTipDrawEventArgs(ToolTip, Graphics, Rectangle, RecordBase, Style, String, Boolean, Boolean)

    Constructs ToolTipDrawEventArgs isntance

    Declaration
    public ToolTipDrawEventArgs(ToolTip tip, Graphics g, Rectangle bounds, RecordBase record, Style style, string text, bool htmlTags, bool showLegend)
    Parameters
    Type Name Description
    ToolTip tip

    ToolTip reference

    System.Drawing.Graphics g

    Graphics context

    System.Drawing.Rectangle bounds

    Bounding rectangle

    RecordBase record

    Record which is going to be drawn

    Style style

    Node Style which owns the Record

    System.String text

    Text to draw

    System.Boolean htmlTags

    Parse HTML tags in Text

    System.Boolean showLegend

    Show the color legend

    Properties

    Bounds

    Bounding rectangle

    Declaration
    public Rectangle Bounds { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    ClientRectangle

    Bouding rectangle with standard padding

    Declaration
    public Rectangle ClientRectangle { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Graphics

    Graphics context

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

    HTMLTags

    Parse HTML tags in Text

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

    LegendBox

    Rectangle of color legend

    Declaration
    public Rectangle LegendBox { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Owner

    Chart reference

    Declaration
    public ChartBase Owner { get; }
    Property Value
    Type Description
    ChartBase

    Record

    Record for ToolTip

    Declaration
    public RecordBase Record { get; }
    Property Value
    Type Description
    RecordBase

    ShowLegend

    Show the color legend

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

    Style

    Style of Node which owns the Record

    Declaration
    public Style Style { get; }
    Property Value
    Type Description
    Style

    Text

    ToolTip text

    Declaration
    public string Text { get; }
    Property Value
    Type Description
    System.String

    TextRectangle

    Rentangle for the Text

    Declaration
    public Rectangle TextRectangle { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Methods

    DrawBackground()

    Draw default backgound

    Declaration
    public void DrawBackground()

    DrawLegend()

    Draw default color legend

    Declaration
    public void DrawLegend()

    DrawText()

    Draw default Text

    Declaration
    public void DrawText()
    Back to top © 2021-2022 Copyright Fast Reports Inc.