Class RadialSlider.DrawTextEventArgs
Provide data for DrawText event.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DrawTextEventArgs : EventArgs
Constructors
DrawTextEventArgs(String, Brush, Font, Graphics, TextType, Rectangle)
Initializes a new instance of the RadialSlider.DrawTextEventArgs class.
Declaration
public DrawTextEventArgs(string text, Brush brush, Font font, Graphics graphics, TextType textType, Rectangle bounds)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | Custom text to drawn in RadialSlider |
| System.Drawing.Brush | brush | The brush used to render the foreground color of the text. |
| System.Drawing.Font | font | Font of text to draw in RadialSlider. |
| System.Drawing.Graphics | graphics | Graphics for the text to be drawn in RadialSlider |
| TextType | textType | Type of text to be drawn in RadialSlider |
| System.Drawing.Rectangle | bounds | Bounds of text to be drawn in RadialSlider |
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.