# Parts enum

Namespace: [Grasshopper2.UI.Primitives](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.primitives.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[Flags]
public enum Parts
```

Lists the possible visual parts that make up a visual element. Not all elements necessarily supports all parts.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Interior | 1 | Element content fill. |
| Edge | 16 | Element boundary edge. |
| Highlight | 32 | Element highlight edge that separates the top from the front. |
| Plugs | 128 | Element plugs, when applicable. |
| Messaging | 256 | Element message dots embedded on the edge. This flag only makes sense in conjunction with Edge. |
| TypicalBackground | 385 | Combines all background parts. (everything except overlay and edge). |
| Overlay | 512 | Overlay fill on top of entire element. |
| TypicalForeground | 528 | Combines all foreground parts (overlay and edge). |
| All | 913 | Represents the combination of all flags. |
