# GH_MenuCustomControl class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_MenuCustomControl
```

Utility control for putting custom controls into menus.

## Constructors

- [GH_MenuCustomControl](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-menucustomcontrol/ctor.md)

## Properties

- [CancelItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-menucustomcontrol/cancelitem.md)
- [CommitItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-menucustomcontrol/commititem.md)
- [Control](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-menucustomcontrol/control.md)

## Methods

- [CloseEntireMenuStructure](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-menucustomcontrol/closeentiremenustructure.md)

## Events

- [KeyDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-menucustomcontrol/keydown.md)
