menu

WinForms

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

    Show / Hide Table of Contents

    Class DrawLabelEventArgs

    Provides data to the DrawLabel event of the RadialGauge control.

    Inheritance
    System.Object
    System.EventArgs
    DrawLabelEventArgs
    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.Gauge
    Assembly: Syncfusion.Gauge.Windows.dll
    Syntax
    public class DrawLabelEventArgs : EventArgs

    Constructors

    DrawLabelEventArgs(String, Color, Font, Boolean, LabelAlignment, LabelType, Point)

    Initializes a new instance of the DrawLabelEventArgs class.

    Declaration
    public DrawLabelEventArgs(string text, Color foreColor, Font font, bool handled, LabelAlignment alignment, LabelType labelType, Point offset)
    Parameters
    Type Name Description
    System.String text

    Custom label to drawn in RadialGauge

    System.Drawing.Color foreColor

    Foreground color of label to draw in RadialGauge.

    System.Drawing.Font font

    Font of label to draw in RadialGauge.

    System.Boolean handled

    Value indicating whether to custom draw label in RadialGauge.

    LabelAlignment alignment
    LabelType labelType
    System.Drawing.Point offset

    Properties

    Font

    Gets or sets the font of label to draw in RadialGauge.

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

    ForeColor

    Gets or sets the foreground color of label to draw in RadialGauge.

    Declaration
    public Color ForeColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    Handled

    Gets or sets a value that indicates whether to draw custom draw labels in RadialGauge.

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

    LabelAlignment

    Declaration
    public LabelAlignment LabelAlignment { get; set; }
    Property Value
    Type
    LabelAlignment

    LabelType

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

    Offset

    Gets or sets a point to adjust the Label horizontally and vertically based on the value specified in X and Y coordinates.

    Declaration
    public Point Offset { get; set; }
    Property Value
    Type
    System.Drawing.Point

    Text

    Gets or sets the text for custom label to draw in RadialGauge.

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved