Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxPropertiesStoreComponent.Properties Property

Specifies the properties of a component to store/restore using a storage.

#Declaration

Delphi
property Properties: TStrings read; write;

#Property Value

Type
TStrings

#Remarks

Use the Properties property to specify which published properties of a component will be saved/restored. To specify the component itself, see the Component property.

Note that only existing properties can be saved. If the component to store does not have a property with a name in the Properties list, this property is ignored.

If a property relates to a TPersistent descendant, you can store its specific attributes. To specify the attributes to store, you need to add a string consisting of the property and attribute names delimited by a dot. For instance, if you wish to save only the Height sub-property of the Font property, you need to add the “Font.Height“ string to the Properties string list. If you specify the control’s Font property to store, all its published sub-properties (Charset, Color, Height, Name, Pitch, Size and Style) will be automatically saved.

Note that if your property references a TComponent descendant, only the object’s Name is saved in this case. See example for details.

See Also