# DocumentBagEventArgs class

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

```cs
public sealed class DocumentBagEventArgs : EventArgs
```

Event arguments used in the [DocumentBag](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.documentbag.md).

## Constructors

- [DocumentBagEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.documentbageventargs/ctor.md)

## Properties

- [Stack](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.documentbageventargs/stack.md): Gets the document to which this event pertains.
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.documentbageventargs/type.md): Gets the type of event.
