TcxCustomColorComboBoxProperties.ShowDescriptions Property
Specifies whether color combo box items display textual descriptions of colors.
Declaration
property ShowDescriptions: Boolean read; write; default True;
Property Value
Type | Default |
---|---|
Boolean | True |
Remarks
Set the ShowDescriptions property to False to hide the textual descriptions displayed within items. If set to True, descriptions are displayed. Note that if descriptions are not displayed, color boxes displayed within items are stretched to fit the entire width allowed. In this instance, you may wish to reduce the control’s width.
The images below show the appearance of the color combo box when text descriptions for items are shown and hidden, respectively.
The following members allow you to specify the text displayed within items of the color combo box:
The control’s Properties.NamingConvention and Properties.ColorValueFormat properties;
The control’s Properties.OnNamingConvention and Properties.OnSelectCustomColor events and the items’ Description property.
The default value of the ShowDescriptions property is True.