menu

WinForms

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

    Show / Hide Table of Contents

    Class ChartLegendDrawItemTextEventArgs

    Inheritance
    System.Object
    System.EventArgs
    ChartLegendDrawItemTextEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public class ChartLegendDrawItemTextEventArgs : EventArgs

    Constructors

    ChartLegendDrawItemTextEventArgs(Graphics, String, RectangleF)

    Initializes a new instance of the ChartLegendDrawItemTextEventArgs class.

    Declaration
    public ChartLegendDrawItemTextEventArgs(Graphics g, string text, RectangleF m_textRect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    Graphics object.

    System.String text

    Legend item text to be rendered.

    System.Drawing.RectangleF m_textRect

    Bounds of the legend item.

    Properties

    Graphics

    Gets the graphics to draw legend.

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

    The graphics.

    Handled

    Gets or sets a value indicating whether this LegendDrawItemTextEventArgs is handled.

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

    true if handled; otherwise, false.

    Text

    Gets or sets text of Legend item

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

    The graphics.

    TextRect

    Gets bounds of legend item

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

    The graphics.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved