Back to Devexpress

IDocumentGroupProperties.CustomHeaderButtons Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentgroupproperties-0f759180.md

latest3.5 KB
Original Source

IDocumentGroupProperties.CustomHeaderButtons Property

Provides access to a custom header button collection displayed in document groups.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
CustomHeaderButtonCollection CustomHeaderButtons { get; }
vb
ReadOnly Property CustomHeaderButtons As CustomHeaderButtonCollection

Property Value

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

See Also

CustomHeaderButtons

GetActualCustomHeaderButtons()

CustomHeaderButtonClick

CustomDrawHeaderButton

IDocumentGroupProperties Interface

IDocumentGroupProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace