Vcl.ListActns.TListControlItem.GetDisplayName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDisplayName: String; override;

C++

virtual System::UnicodeString __fastcall GetDisplayName(void);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ListActns.pas
Vcl.ListActns.hpp
Vcl.ListActns TListControlItem

Description

Specifies the name of the item as it appears in the Object Inspector.

GetDisplayName returns the string that represents the item in the Collection editor and the Object Inspector.

GetDisplayName returns the value of the Caption if it is set. Otherwise, it returns the class name of the TListControlItem descendant for which this is an instance, with a number added to ensure uniqueness.

See Also