IDocumentGroupProperties.CustomHeaderButtons Property
Provides access to a custom header button collection displayed in document groups.
Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed
Assembly: DevExpress.XtraBars.v21.1.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
CustomHeaderButtonCollection | A CustomHeaderButtonCollection displayed in document groups. |
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 CustomHeaderButtons property to create custom header buttons common to all document groups. The IDocumentGroupDefaultProperties.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.
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.