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

TcxStyleRepository.CreateStyleSheet(TcxCustomStyleSheetClass) Method

Creates and adds a style sheet to the style repository.

#Declaration

Delphi
function CreateStyleSheet(AStyleSheetClass: TcxCustomStyleSheetClass): TcxCustomStyleSheet; virtual;

#Parameters

Name Type
AStyleSheetClass TcxCustomStyleSheetClass

#Returns

Type
TcxCustomStyleSheet

#Remarks

The CreateStyleSheet method creates a style sheet of class specified by the AStyleSheetClass parameter and adds it to the style repository. If the operation is successful the method returns the newly added style sheet.

See Also