Class ColorCell
Represents a class that color cell of the ColorPickerUIAdv.
Inheritance
System.Object
ColorCell
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ColorCell : Component
Constructors
ColorCell(Color)
Initialize a new instance of the ColorCell class.
Declaration
public ColorCell(Color color)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | color | An instance of color. |
Properties
Bounds
Gets or sets the bounds for region.
Declaration
public Region Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.Region |
Color
Gets or sets the color value.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HorizontalPosition
Gets the horizontal position value.
Declaration
public int HorizontalPosition { get; }
Property Value
Type |
---|
System.Int32 |
Index
Gets or sets the value of index.
Declaration
public int Index { get; set; }
Property Value
Type |
---|
System.Int32 |
Path
Gets or sets the path value.
Declaration
public GraphicsPath Path { get; set; }
Property Value
Type |
---|
System.Drawing.Drawing2D.GraphicsPath |
State
Gets or sets the state of color cell.
Declaration
public ColorCellState State { get; set; }
Property Value
Type |
---|
ColorCellState |
VerticalPosition
Gets the vertical position value.
Declaration
public int VerticalPosition { get; }
Property Value
Type |
---|
System.Int32 |
Methods
CalculateBounds()
Calculates the bounds of color cell.
Declaration
public void CalculateBounds()