Back to Devexpress

RibbonPageGroup.CaptionButtonVisible Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonpagegroup-c0843c02.md

latest2.9 KB
Original Source

RibbonPageGroup.CaptionButtonVisible Property

Gets or sets whether the Caption Button is visible.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean CaptionButtonVisible { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(DefaultBoolean.Default)>
Public Property CaptionButtonVisible As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

Specifies whether the Caption Button is visible. The DefaultBoolean.Default value equals DefaultBoolean.True if you handle the RibbonPageGroup.CaptionButtonClick or RibbonControl.PageGroupCaptionButtonClick event, and DefaultBoolean.False otherwise.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

A Ribbon Page Group can display a caption button. A user can click this button to perform an action, which you can implement with the RibbonPageGroup.CaptionButtonClick or RibbonControl.PageGroupCaptionButtonClick event.

By default, the caption button is hidden, unless you subscribe to the CaptionButtonClick or PageGroupCaptionButtonClick event.

See Also

CaptionButtonClick

KeyTip

SuperTip

PageGroupCaptionButtonClick

RibbonPageGroup Class

RibbonPageGroup Members

DevExpress.XtraBars.Ribbon Namespace