Skip to main content

TcxEditRepositoryItem.GetBaseName Method

Generates a repository item name from the parent repository name and the current repository item class.

Declaration

function GetBaseName: string; virtual;

Returns

Type Description
string

The base part of the automatically generated repository item name.

Remarks

An automatically generated repository item name consists of the parent repository name and a portion of the actual repository item class name followed by an ordinal number (EditRepositoryBarCodeItem1, for example). The GetBaseName function is called automatically every time you create repository items at design time.

VCL Editors Library: An Automatically Generated Edit Repository Item Name

TcxEditRepositoryItem class descendants override the GetBaseName function to generate component names specific to corresponding repository item types. You can override the GetBaseName function in a custom TcxEditRepositoryItem class descendant to generate corresponding names for the custom repository item component.

See Also