Back to Devexpress

TabbedView.CustomHeaderButtonClick Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-tabbedview-5ca91439.md

latest2.4 KB
Original Source

TabbedView.CustomHeaderButtonClick Event

Fires when a custom header button is clicked.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event CustomHeaderButtonEventHandler CustomHeaderButtonClick
vb
Public Event CustomHeaderButtonClick As CustomHeaderButtonEventHandler

Event Data

The CustomHeaderButtonClick event's data class is CustomHeaderButtonEventArgs. The following properties provide information specific to this event:

PropertyDescription
ButtonGets the clicked button.
DocumentGets the selected document.

Remarks

You can create common custom header buttons for all document groups and also provide custom header buttons for individual groups (see the IDocumentGroupProperties.CustomHeaderButtons topic).

Use the 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

IDocumentGroupDefaultProperties.CustomHeaderButtons

IDocumentGroupProperties.CustomHeaderButtons

TabbedView Class

TabbedView Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace