Back to Devexpress

RibbonPage.IsInDefaultCategory Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpage-a6320361.md

latest2.2 KB
Original Source

RibbonPage.IsInDefaultCategory Property

Gets or sets whether the current page belongs to the default page category.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public virtual bool IsInDefaultCategory { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property IsInDefaultCategory As Boolean

Property Value

TypeDescription
Boolean

true if the current page belongs to the default page category; otherwise, false.

|

Remarks

A Ribbon page belongs to either the default or custom page category. To get the page’s category, see the RibbonPage.Category property. If the page belongs to the default category, which is represented by the RibbonControl.DefaultPageCategory object, the IsInDefaultCategory property returns true. Otherwise, the IsInDefaultCategory property returns false.

For more information on page categories, see Ribbon Page.

See Also

Category

DefaultPageCategory

Ribbon Page

RibbonPage Class

RibbonPage Members

DevExpress.XtraBars.Ribbon Namespace