Class GradientBar
Represents a gradient bar of the ColorPickerUIAdv.
Inheritance
System.Object
GradientBar
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class GradientBar : UserControl
Constructors
GradientBar()
Initialize a new instance of the GradientBar class.
Declaration
public GradientBar()
Fields
DEF_OFFCET
Declaration
public const int DEF_OFFCET = 4
Field Value
Type |
---|
System.Int32 |
Properties
BitmapHeight
Gets the height of the bitmap.
Declaration
public int BitmapHeight { get; }
Property Value
Type |
---|
System.Int32 |
MaxValue
Gets or sets the maximum value.
Declaration
public int MaxValue { get; set; }
Property Value
Type |
---|
System.Int32 |
MiddleColor
Gets or sets the middle color value.
Declaration
public Color MiddleColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Position
Gets or sets the position value.
Declaration
public int Position { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Bool value disposing |
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e |
OnPositionChanged(EventArgs)
Declaration
protected virtual void OnPositionChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Events
PositionChanged
Occurs when the position has changed.
Declaration
public event EventHandler PositionChanged
Event Type
Type |
---|
System.EventHandler |