PropertyCount Property

Applies to TestComplete 15.70, last modified on December 17, 2024

Returns the total number of properties in the object.

Declaration

componentObj.PropertyCount
Read-Only Property Integer
componentObj     One of the user forms components or objects listed in the Applies To section  

Applies To

This property applies to the following components and objects:

TBevel, TBitmap, TBrush, TcxButton, TcxButtonColors, TcxButtonEdit, TcxButtonEditProperties, TcxCalcEdit, TcxCalcEditProperties, TcxCheckBox, TcxCheckBoxProperties, TcxCurrencyEdit, TcxCurrencyEditProperties, TcxDateEdit, TcxDateEditProperties, TcxEditAlignment, TcxEditButton, TcxEditButtons, TcxGroupBox, TcxLabel, TcxLabelProperties, TcxListBox, TcxMemo, TcxMemoProperties, TcxMRUEdit, TcxMRUEditProperties, TcxProgressBar, TcxProgressBarProperties, TcxRadioGroup, TcxRadioGroupItem, TcxRadioGroupItems, TcxRadioGroupProperties, TcxSpinEdit, TcxSpinEditButtons, TcxSpinEditProperties, TcxTextEdit, TcxTextEditProperties, TcxTimeEdit, TcxTimeEditProperties, TImage, TObjectPicker, TOpenDialog, TPanel, TPen, TPicture, TRectObjectPicker, TSaveDialog, TSelectDirectory, TSelectObjectPropertyDialog, TShape, TSizeConstraints, TStrings

Description

The PropertyCount property returns the total number of properties in the given object. You can use this property along with Property to iterate through a objects’s properties.

Property Value

An integer value that specifies the total number of object properties.

See Also

Property Property
PropertyByName Property
PropertyExists Method
PropertyName Property

Highlight search results