Class RadialSlider.DrawTextEventArgs
Provide data for DrawText event.
Inheritance
System.Object
System.EventArgs
RadialSlider.DrawTextEventArgs
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.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 |
---|
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 |
---|
System.Drawing.Font |
ForeColor
Gets or sets the forecolor of the text to be drawn.
Declaration
public Brush ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Brush |
Graphics
Gets the graphics that used to draw the value on RadialSlider
Declaration
public Graphics Graphics { get; }
Property Value
Type |
---|
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 |
---|
System.Boolean |
Text
Gets or sets the text which is going to be drawn.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextType
Gets the type of text to be drawn.
Declaration
public TextType TextType { get; }
Property Value
Type |
---|
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.