TRVStyleTemplateCombo/ListBox.ShowAllStyles

<< Click to display table of contents >>

TRVStyleTemplateCombo/ListBox.ShowAllStyles

Specifies whether the component displays all available style templates.

property ShowAllStyles: Boolean;

If True, the component displays all style templates from Editor.Style.StyleTemplates.

If False, the component displays:

style templates in use (i.e. style templates referred by Editor.Style.TextStyles and ParaStyles);

style templates having QuickAccess=True

"All styles" item (if not all style templates are displayed)

If SmartHeadings=True, the component uses a special procedure to calculate a visibility of "heading 1".."heading 9" style templates.

When "All Styles" item is clicked:

if OnClickAllStyles is assigned, it is called

otherwise, the combo-/list-box temporarily displays all style templates.

Default value:

False

See also:

AllStylesImageIndex