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.CreateStyleSheetEx(TcxCustomStyleSheetClass,TComponent) Method

Creates a style sheet and adds it to the style repository.

#Declaration

Delphi
function CreateStyleSheetEx(AStyleSheetClass: TcxCustomStyleSheetClass; AOwner: TComponent): TcxCustomStyleSheet; virtual;

#Parameters

Name Type
AStyleSheetClass TcxCustomStyleSheetClass
AOwner TComponent

#Returns

Type
TcxCustomStyleSheet

#Remarks

The CreateStyleSheetEx method creates a style sheet of class specified by the AStyleSheetClass parameter and adds it to the style repository. The AOwner parameter specifies the owner component for the added style sheet. If the operation is successful, the method returns the newly added style sheet. You should not use this method directly. It is for internal use. Use the CreateStyleSheet method instead.

See Also