Skip to main content

IDocumentGroupDefaultProperties.CustomHeaderButtons Property

Provides access to a custom header button collection displayed in the current document group.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

CustomHeaderButtonCollection CustomHeaderButtons { get; }

Property Value

Type Description
CustomHeaderButtonCollection

A CustomHeaderButtonCollection displayed in the current document group.

Remarks

You can create common custom header buttons for all document groups and also provide custom header buttons for individual groups. A document group will display common buttons first, followed by individual buttons. Use a View’s IDocumentGroupProperties.CustomHeaderButtons property to create custom header buttons common to all document groups. The CustomHeaderButtons property allows you to create custom header buttons that will be displayed only in an individual document group. The IDocumentGroupDefaultProperties.GetActualCustomHeaderButtons method specifies the resulting list of all custom header buttons displayed in an individual document group.

Custom header buttons are CustomHeaderButton objects that provide a number of settings that specify the button’s glyph, caption, etc.

Custom Header Buttons For Group

Use the TabbedView.CustomHeaderButtonClick event to embed a functionality for a custom header button. The event provides a Button parameter that can be used to identify the currently clicked button.

See Also