Back to Devexpress

TdxBarManager.CategoryItemsVisible Property

vcl-dxbar-dot-tdxbarmanager-baf2a86c.md

latest2.7 KB
Original Source

TdxBarManager.CategoryItemsVisible Property

Specifies whether the items of a particular category are visible.

Declaration

delphi
property CategoryItemsVisible[AIndex: Integer]: TdxBarItemVisible read; write;

Property Value

Type
TdxBarItemVisible

Remarks

Use the CategoryItemsVisible property to specify the Visible property of the items which belong to a particular category. The AIndex parameter identifies the category within the bar manager’s Categories zero-based indexed collection.

There are three possible values for the CategoryItemsVisible property. They represent three types of item visibility at runtime.

ValueMeaning
ivAlwaysItems are visible on toolbars and listed in the Customization Form.
ivNeverItems are not visible both on toolbars and the Customization Form.
ivInCustomizingItems are visible on toolbars and listed in the Customization Form when customizing.

If the category does not exist, this property returns ivNever.

Refer to the Customization Form - Category Modify topic to find out how to specify the CategoryItemsVisible property at design time.

Note

At design time all the items are visible and displayed in the Customization Form.

See Also

TdxBarManager.AutoHideEmptyBars

TdxBarManager.Backgrounds

TdxBarManager.CategoryVisible

TdxBarManager.GetAllItemsByCategory

TdxBarManager.GetCountByCategory

TdxBarManager.GetItemByCategory

TdxBarManager.GetItemsByCategory

How to Show/Hide All Items within a Category

TdxBarManager.CategoryItemsVisible, TdxBarManager.Categories Example

TdxBarManager Class

TdxBarManager Members

dxBar Unit