Skip to main content
A newer version of this page is available. .

TcxStyleRepository.CreateStyleSheet(TcxCustomStyleSheetClass) Method

Creates and adds a style sheet to the style repository.

Declaration

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