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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Set GridConditionalFormatDescriptor for ComboBox Cell type

Thread ID:





62996 Jun 26,2007 08:45 PM UTC Jun 26,2007 09:50 PM UTC WinForms 1
Tags: GridControl
Devendra Patel
Asked On June 26, 2007 08:45 PM UTC

I am GGC. I want to apply GridConditionalFormatDescriptor to the Cell of type comboBox. The GridConditionalFormatDescriptor.Expression is set for the list (DataView) to which ComboBox is bind.

Please advise.


haneefm [Syncfusion]
Replied On June 26, 2007 09:50 PM UTC

Hi Dev,

You can try these code snippet.

GridConditionalFormatDescriptor Format1 = new GridConditionalFormatDescriptor("Row");
Format1.Expression = "[Col2] Like 'One'";
Format1.Appearance.AnyRecordFieldCell.BackColor = Color.Red;


Here is a sample for implementating the Conditional format descriptor with the combobox column in a grid

Best regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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