TabbedView.CustomHeaderButtonClick Event

Fires when a custom header button is clicked.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public event CustomHeaderButtonEventHandler CustomHeaderButtonClick
Public Event CustomHeaderButtonClick As CustomHeaderButtonEventHandler

Event Data

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

Property Description
Button Gets the clicked button.
Document Gets 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