We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom Color palette with CellType = "ColorEdit"

Thread ID:

Created:

Updated:

Platform:

Replies:

39539 Jan 10,2006 10:02 PM UTC Jan 12,2006 12:07 PM UTC Windows Forms 1
loading
Tags: GridControl
Byron Tate
Asked On January 10, 2006 10:02 PM UTC

I am using EG 3.3. I use a GridDataBoundGrid control. I set CellType of a column to "ColorEdit" and CellValueType to typeof(Color). I click the cell button and get the tabbed colors. I want to be able to display only the Custom palette and be able to set the colors of this custom palette. I can''t see how to do this like you can in the Editors Package''s ColorUIControl and ColorPickerButton classes.

Administrator [Syncfusion]
Replied On January 12, 2006 12:07 PM UTC

Hi Byron, The ColorUIControl of the GridDropDownColorUICellRenderer is private. To have only the Custom palette in the color edit cell''s drop down ColorUIControl, we have to have our own DropDownColorUICellRenderer. Here is a sample which displays only the Custom palette using a custom cell type. Regards, Calvin.

39539.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;