Skip to main content

RibbonControl.ActualCategories Property

Gets a collection of page categories used by the current RibbonControl. This is a read-only property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v14.2.dll

#Declaration

public ObservableCollection<RibbonPageCategoryBase> ActualCategories { get; protected set; }

#Property Value

Type Description
ObservableCollection<RibbonPageCategoryBase>

An ObservableCollection object, containing categories used by the current RibbonControl.

#Remarks

An ObservableCollection, returned by the ActualCategories property, contains all page categories, defined within the current RibbonControl object - both a RibbonDefaultPageCategory and all of the custom RibbonPageCategory objects. Even if a category is invisible (RibbonPageCategoryBase.IsVisible = false) at the moment, it's still included in the collection returned by the ActualCategories property.

See Also