BCGControlBar Library for .NET
ColorCell Class
Members 




This class implements a cell with color picker.
Object Model
ColorCell ClassGridColumn ClassGridDataItem ClassGridDataRow ClassGridCellVisualStyle Class
Syntax
'Declaration
 
Public Class ColorCell 
   Inherits CommandButtonCell
'Usage
 
Dim instance As ColorCell
public class ColorCell : CommandButtonCell 
public __gc class ColorCell : public CommandButtonCell 
public ref class ColorCell : public CommandButtonCell 
Example
You can use the following code to create an item data with color picker:
C# Copy Code
item = new GridDataItem();
item.DataType = GridDataType.Color;
// set initial color
item.ItemData = Color.Azure;
// add item to row
row.ItemCollection.Add ();

 

Inheritance Hierarchy

System.Object
   BCGSoft.Controls.Grid.Cell
      BCGSoft.Controls.Grid.TextCell
         BCGSoft.Controls.Grid.PushButtonCell
            BCGSoft.Controls.Grid.CommandButtonCell
               BCGSoft.Controls.Grid.ColorCell

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ColorCell Members
BCGSoft.Controls.Grid Namespace

Send Feedback