# IHeaderButtonHandler interface

Namespace: [Rhino.UI.Controls](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.ui.controls.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public interface IHeaderButtonHandler
```

This interface represents a handler for putting custom buttons on the header of IRhinoUiSection.

## Methods

- [ButtonDetails](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.iheaderbuttonhandler/buttondetails.md): Implement this method to describe custom buttons on the section header. RDK calls this method continually increasing iIndex until it returns \e false
- [ButtonRect](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.iheaderbuttonhandler/buttonrect.md): Implement this method to get the rectangle of a button on the header window.
- [DeleteThis](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.iheaderbuttonhandler/deletethis.md)
- [OnButtonClicked](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.iheaderbuttonhandler/onbuttonclicked.md): Implement this method to handle a button click.
