# ContentSwapEventArgs class

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

```cs
public sealed class ContentSwapEventArgs : EventArgs
```

Event arguments used when swapping documentation content.

## Constructors

- [ContentSwapEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.documentation.contentswapeventargs/ctor.md)

## Properties

- [Id](https://developer.rhino3d.com/api/gh2/type/grasshopper2.documentation.contentswapeventargs/id.md): Gets the identifier.
- [NewContent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.documentation.contentswapeventargs/newcontent.md): Gets the content which was swapped. This may be null if the original content is supposed to be restored.
- [OldContent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.documentation.contentswapeventargs/oldcontent.md): Gets the content which was swapped. This may be null if the original content is supposed to be restored.
