menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorItem - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorItem

    Represents the color item class for ColorPickerUIAdv.

    Inheritance
    System.Object
    ColorItemBase
    ColorItem
    GroupColorItem
    Inherited Members
    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 ColorItem : ColorItemBase

    Constructors

    ColorItem()

    Initialize a new instance of the ColorItem class.

    Declaration
    public ColorItem()

    ColorItem(GroupColorItem, Color)

    Initialize a new instance of the ColorItem class.

    Declaration
    public ColorItem(GroupColorItem baseItem, Color color)
    Parameters
    Type Name Description
    GroupColorItem baseItem

    The base item for the group color.

    System.Drawing.Color color

    The color value.

    ColorItem(Color)

    Initialize a new instance of the ColorItem class.

    Declaration
    public ColorItem(Color color)
    Parameters
    Type Name Description
    System.Drawing.Color color

    The color value.

    Properties

    Bounds

    Gets or sets the bounds value.

    Declaration
    public Rectangle Bounds { get; set; }
    Property Value
    Type
    System.Drawing.Rectangle

    Color

    Gets or sets the color value of ColorItem.

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

    Index

    Gets or sets the index value of ColorItem.

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

    State

    Gets or sets the state value of ColorItemState.

    Declaration
    public ColorItemState State { get; set; }
    Property Value
    Type
    ColorItemState

    Methods

    CreateAccessibilityInstance()

    Returns the new instance of Ribbon to ColorItemAccessibleObject class

    Declaration
    protected AccessibleObject CreateAccessibilityInstance()
    Returns
    Type Description
    System.Windows.Forms.AccessibleObject

    Accessible object for ColorItem

    OnColorChanged(EventArgs)

    Declaration
    protected virtual void OnColorChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    Events

    ColorChanged

    Occurs when the color items are changed.

    Declaration
    public event EventHandler ColorChanged
    Event Type
    Type
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved