System.Classes.TCollectionItem.DisplayName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisplayName: string read GetDisplayName write SetDisplayName;

C++

__property System::UnicodeString DisplayName = {read=GetDisplayName, write=SetDisplayName};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TCollectionItem

Description

The name displayed in the Collection editor.

DisplayName is the string that represents the item in the Collection editor. When the item is selected in the Collection editor, the DisplayName can also appear in the Object Inspector as the value of another property (for example, as the Text property of THeaderSection or TStatusPanel). By default, DisplayName is the name of the TCollectionItem descendant class of which the item is an instance.

For Vcl.ExtActns.TRecipientItem, the DisplayName name also appears in the To, CC, or BCC fields of the e-mail message along with the recipient's address.

See Also