# FloatingButtonEventArgs<T> class

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 sealed class FloatingButtonEventArgs<T>
```

Event arguments used in floating button events.

**Type parameters:**

- `T`

## Constructors

- [FloatingButtonEventArgs<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.floatingbuttoneventargs-1/ctor.md): Create a new button event arguments.

## Properties

- [Button](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.floatingbuttoneventargs-1/button.md): Gets the button associated with this event.
- [NewValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.floatingbuttoneventargs-1/newvalue.md): Gets the modified value.
- [OldValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.floatingbuttoneventargs-1/oldvalue.md): Gets the old value.
