# DocumentStateEventArgs class

Namespace: [Grasshopper2.Doc](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public class DocumentStateEventArgs : DocumentEventArgs<DocumentState>
```

Event arguments used in document state change events.

## Constructors

- [DocumentStateEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentstateeventargs/ctor.md): Create a new DocumentStateEventArgs instance.

## Inherited Members

- From [DocumentEventArgs<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documenteventargs-1.md): [_after](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documenteventargs-1/after.md), [_before](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documenteventargs-1/before.md), [Document](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documenteventargs-1/document.md), [NewState](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documenteventargs-1/newstate.md), [Oldstate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documenteventargs-1/oldstate.md)
