Back to Devexpress

RibbonPageGroup.State Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagegroup-285287d7.md

latest2.0 KB
Original Source

RibbonPageGroup.State Property

Gets or sets whether the group is always expanded, collapsed, or automatically switches between the expanded and collapsed state depending on the available space.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(RibbonPageGroupState.Auto)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public RibbonPageGroupState State { get; set; }
vb
<DefaultValue(RibbonPageGroupState.Auto)>
<DXCategory("Layout")>
<XtraSerializableProperty>
Public Property State As RibbonPageGroupState

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Ribbon.RibbonPageGroupStateAuto

A DevExpress.XtraBars.Ribbon.RibbonPageGroupState enumeration value, such as Auto , Expanded or Collapsed , that specifies the group expand/collapse state.

|

Remarks

The DevExpress.XtraBars.Ribbon.RibbonPageGroupState enumeration provides the following states:

  • Expanded - all items are always visible regardless of the available space.

  • Collapsed - items are hidden, a click on a collapsed group invokes a drop-down menu that contains the hidden items.

  • Auto (the default mode) - the group automatically collapses when there is insufficient space to display all items.

See Also

Ribbon Page Group

RibbonPageGroup Class

RibbonPageGroup Members

DevExpress.XtraBars.Ribbon Namespace