Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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