Skip to main content
A newer version of this page is available. .

TcxCheckComboBoxItems.Items Property

Provides access to individual items within the collection.

Declaration

property Items[Index: Integer]: TcxCheckComboBoxItem read; write; default;

Property Value

Type
TcxCheckComboBoxItem

Remarks

You can use the Items property to access a check box item and customize its properties.

The Index parameter specifies an integer value between 0 and Count - 1.

The following example replaces empty item captions with the ‘None’ string:

procedure TForm1.Button3Click(Sender: TObject);
var
  I: Integer;
begin
  with cxCheckComboBox1.Properties.Items do
  begin
    for I := 0 to Count - 1 do
      if Items[I].Description = '' then
        Items[I].Description := 'None';
  end;
end;
See Also