# DisplayRuleEditor class

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

```cs
public sealed class DisplayRuleEditor : Form
```

A window for editing the display rules part of a document.

## Constructors

- [DisplayRuleEditor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.display.displayruleeditor/ctor.md)

## Properties

- [Document](https://developer.rhino3d.com/api/gh2/type/grasshopper2.display.displayruleeditor/document.md): Gets or sets the document whose rules are to be displayed.

## Methods

- [UpdateContents](https://developer.rhino3d.com/api/gh2/type/grasshopper2.display.displayruleeditor/updatecontents.md): Call this to update the UI to reflect the current state of the loaded document.
