Skip to main content

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