WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RadialSlider.DrawTextEventArgs

    Show / Hide Table of Contents

    Class RadialSlider.DrawTextEventArgs

    Provide data for DrawText event.

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

    Constructors

    DrawTextEventArgs(String, Brush, Font, Graphics, TextType, Rectangle)

    Declaration
    public DrawTextEventArgs(string text, Brush brush, Font font, Graphics graphics, TextType textType, Rectangle bounds)
    Parameters
    Type Name Description
    System.String text
    System.Drawing.Brush brush
    System.Drawing.Font font
    System.Drawing.Graphics graphics
    TextType textType
    System.Drawing.Rectangle bounds

    Properties

    Bounds

    Gets the bounds of the text to be drawn within RadialSlider

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

    Font

    Gets or sets the font of the text to be drawn on RadialSlider.

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

    ForeColor

    Gets or sets the forecolor of the text to be drawn.

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

    Graphics

    Gets the graphics that used to draw the value on RadialSlider

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

    Handled

    Gets or sets a value that indicates whether the drawing is handled or not.

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

    Text

    Gets or sets the text which is going to be drawn.

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

    TextType

    Gets the type of text to be drawn.

    Declaration
    public TextType TextType { get; }
    Property Value
    Type Description
    TextType
    Remarks

    Pointer represents the text indicating the pointed value. Range represents the text indicating range values from stand to end. Value represents the text indicating selected value.

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