From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property DisplayName: string read GetDisplayName write SetDisplayName;


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


Type Visibility Source Unit Parent
property public
System.Classes TCollectionItem


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