[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#fcl)

TCollectionItem.GetDisplayName

Returns the TCollectionItem.DisplayName of the collectionitem

Declaration

protected function TCollectionItem.GetDisplayName: String; virtual;

Description

GetDisplayName returns the value of the TCollectionItem.DisplayName property. By default, this is the classname of the actual TCollectionItem descendant.

Descendants of TCollectionItem can and should override this method to return a more meaningful value.

See also

TCollectionItem.DisplayName

  

Name of the item, displayed in the object inspector.