Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
CheckBox Color issue
posted

I have a Check Box on the wingrid the value is boolean and I have the style set to checkbox in the initializeLayout method.  The problem is if the data from the database has the value set, when the form is loaded the CheckBox color is light grey and I want it Black.  Changing the ForeColor is does not do anything.  I'm going to presume that property is only applicable for text info, and the CheckBox is being treated as an Image so what is the proper way to set it correctly. Below is how I'm currently attempting to set the color of the Checkbox to Black this is being done in the InitializeLayout Method..

var columns = grdEdwinClaim.DisplayLayout.Bands[0].Columns;

columns["Active_Flag"].CellAppearance.ForeColor = Color.Black;