TcxStyleRepository.CreateItem(TcxCustomStyleClass) Method
Creates a new style in a repository.
Declaration
function CreateItem(AStyleClass: TcxCustomStyleClass): TcxCustomStyle; virtual;
Parameters
Name | Type |
---|---|
AStyleClass | TcxCustomStyleClass |
Returns
Type |
---|
TcxCustomStyle |
Remarks
Use the CreateItem method to create a new style in a repository. The class of the style to create is determined by the AStyleClass parameter. The current repository object becomes the owner of the new style and is used to initialize the TcxCustomStyle.StyleRepository property. The method returns the style object created.
See Also