WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorCell

    Show / Hide Table of Contents

    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 Description
    System.Drawing.Region

    Color

    Gets or sets the color value.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HorizontalPosition

    Gets the horizontal position value.

    Declaration
    public int HorizontalPosition { get; }
    Property Value
    Type Description
    System.Int32

    Index

    Gets or sets the value of index.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    Path

    Gets or sets the path value.

    Declaration
    public GraphicsPath Path { get; set; }
    Property Value
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    State

    Gets or sets the state of color cell.

    Declaration
    public ColorCellState State { get; set; }
    Property Value
    Type Description
    ColorCellState

    VerticalPosition

    Gets the vertical position value.

    Declaration
    public int VerticalPosition { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    CalculateBounds()

    Calculates the bounds of color cell.

    Declaration
    public void CalculateBounds()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved