# FloatingButtonHandler delegate

Namespace: [Grasshopper2.UI.Flex](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.flex.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public delegate FloatingButtonHandler
```

Delegate for handling MouseDown, MouseUp and MouseClick events on floating buttons.

**Signature:**

```cs
Response FloatingButtonHandler(FloatingButton button, MouseEventArgs e)
```

**Parameters:**

- `button` ([FloatingButton](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.floatingbutton.md))
- `e` (`MouseEventArgs`)
