ITreeCombo.CustomMultiselectTextTemplate

Syntax

CustomMultiselectTextTemplate: String;

Description

The CustomMultiselectTextTemplate property determines the template, according to which component text will be formed on multiple selection.

Comments

The property is relevant if the CustomMultiselectText property is set to True. The following template is applied by default: %First…%Last. If required, it can be changed. Creating the template may require any text and the following substitutions:

Substitution Description
%First Name of the first selected element.
%Last Name of the last selected element.
%Count Number of selected elements.
%TotalCount Number of nodes in a tree.

Example

The example of use is given in description of the CustomMultiselectText property.

See also:

ITreeCombo