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

TcxCustomStyleSheet.SetStyles(TcxCustomStyles) Method

Sets the styles collection for the style sheet.

#Declaration

Delphi
procedure SetStyles(const Value: TcxCustomStyles);

#Parameters

Name Type
Value TcxCustomStyles

#Remarks

The SetStyles method sets the style collection provided via the Value parameter. This allows you to set all style properties at once. For instance, if you want to create a style sheet specifying the same styles as a style collection, use the SetStyles method and pass the style collection to it as a parameter. Then you can save the style sheet to an INI file using the SaveStyleSheetsToIniFile procedure to save it for future use.

To get the styles collection, use the GetStyles method.

See Also