# ContentUI class

Namespace: [Rhino.UI.Controls](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.ui.controls.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class ContentUI : IDisposable
```

This class represents the user interface (UI) of a content. A content's UI appears inside an editor which is represented by IRhRdkContentEditor.The UI is the part of the editor which allows the user to view and modify the persistent state of the selected content(s). This interface is implemented by RDK internally in the core content class, CRhRdkCoreContent. If you do not override CRhRdkCoreContent::CreateUI() you do not have to concern yourself with the details.If however, you do want to override CreateUI() to create your own custom UI, then you must derive your UI class from CRhRdkCustomContentUI and implement this interface to support your own UI design. \note CRhRdkCustomContentUI implements some of this interface for you.

**Derived types:** [ExpandableContentUI](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.expandablecontentui.md)

## Constructors

- [ContentUI](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/ctor.md): ContentUI constructor

## Finalizer

- [~ContentUI](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/finalize.md): ContentUI destructor

## Fields

- [m_cpp](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/m-cpp.md)

## Properties

- [CppPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/cpppointer.md)

## Methods

- [ContentUIHolder](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/contentuiholder.md): Returns the holder that contains the UI sections, if this is an expandable content UI with sections inside holders. Returns null for custom UIs.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/dispose.md)
- [EditorUuid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/editoruuid.md): Get the unique identifier of the editor that the UI is being displayed in.
- [IsCreated](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/iscreated.md): Returns true if the UI is created, else false
- [IsShown](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/isshown.md): Returns true if the UI is being shown, else false
- [Uuid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.controls.contentui/uuid.md): Get the unique identifier of the UI.
