v
Not logged inv
SearchAsk a QuestionReport an IssueMake a SuggestionMy Questions and Issues
KB Article
Find By ID

ColorEdit loses its value when data-bound or used in the grid

Article Details

A787
10/25/2011
.NET
XtraEditors Library

How to use the Color editor in a grid? When I pick a color from it
and move to the next cell, the value gets lost.

Solution

The Color editor supports values of two data types: System.Drawing.Color and System.Int32. If the data column of your grid column is of type integer, you should set true to the editor's StoreColorAsInteger property. Please note that a color's name is not displayed if StoreColorAsInteger is true.

Do you have any comments? We are eager to hear them!

Average rating: 1.67 out of 9
3 people have rated this page
 
 
 
1
2
3
4
5
6
7
8
9
 
Post Your Vote (Login Required)
v
v
Search
Searching Tips