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.CreateItemEx(TcxCustomStyleClass,TComponent) Method

Creates a new style in the repository with a specified owner.

#Declaration

Delphi
function CreateItemEx(AStyleClass: TcxCustomStyleClass; AOwner: TComponent): TcxCustomStyle; virtual;

#Parameters

Name Type Description
AStyleClass TcxCustomStyleClass

The class-reference to a style.

AOwner TComponent

The style owner component.

#Returns

Type Description
TcxCustomStyle

A created style.

#Remarks

The CreateItemEx method allows you to create a style with a specified owner. The AStyleClass parameter identifies the class of the style to create. The StyleRepository property of the style created is initialized with the current TcxStyleRepository object.

See Also