TcxCheckComboBoxItems.Items Property
In This Article
Provides access to individual items within the collection.
#Declaration
Delphi
property Items[Index: Integer]: TcxCheckComboBoxItem read; write; default;
#Property Value
Type |
---|
Tcx |
#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:
Delphi
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