Class DrawLabelEventArgs
Provides data to the DrawLabel event of the RangeSlider 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.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DrawLabelEventArgs : EventArgs
Constructors
DrawLabelEventArgs(Int32, String, Color, Font, Boolean)
Initializes a new instance of the DrawLabelEventArgs class.
Declaration
public DrawLabelEventArgs(int value, string text, Color foreColor, Font font, bool handled)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Value of the RangeSlider |
System.String | text | Custom label to drawn in RangeSlider |
System.Drawing.Color | foreColor | Foreground color of label to draw in RangeSlider. |
System.Drawing.Font | font | Font of label to draw in RangeSlider. |
System.Boolean | handled | Value indicating whether to custom draw label in RangeSlider. |
Properties
Font
Gets or sets the font of label to draw in RangeSlider.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the foreground color of label to draw in RangeSlider.
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 RangeSlider.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
Text
Gets or sets the text for custom label to draw in RangeSlider.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Value
Gets the value for the label to draw in RangeSlider.
Declaration
public int Value { get; }
Property Value
Type |
---|
System.Int32 |