private void checkedComboBoxEdit1_CustomDisplayText(object sender, DevExpress.XtraEditors.Controls.CustomDisplayTextEventArgs e)
{
string items = checkedComboBoxEdit1.Properties.GetCheckedItems().ToString(); List checkItems = new List(); if (items.Contains(",")) { string[] itemValue = items.Split(','); foreach (string i in itemValue) { checkItems.Add(i); } } if (checkItems != null) { if (checkItems.Count() == checkedComboBoxEdit1.Properties.Items.Count) { e.DisplayText = "ALL"; } } }