Skip to main content

IDocumentGroupDefaultProperties.GetActualCustomHeaderButtons() Method

Gets a list of CustomHeaderButton objects displayed in the current document group.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

IEnumerable<CustomHeaderButton> GetActualCustomHeaderButtons()

Returns

Type Description
IEnumerable<CustomHeaderButton>

A list of CustomHeaderButton objects 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. Use the IDocumentGroupDefaultProperties.CustomHeaderButtons property to create custom header buttons that will be displayed only in the current document group. The IDocumentGroupDefaultProperties.GetActualCustomHeaderButtons method is used to get the resulting list of all custom header buttons displayed in the current 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 method 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