# TreeViewSelectionOptions

> Enum used by the SetSelection method.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.7/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
[Flags]
public enum TreeViewSelectionOptions
```

## Fields

| Value                                                                                                                               | Description                                                                                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [FireSelectionChanged](/engine/6000.7/script-reference/unityeditor/imgui/controls/treeviewselectionoptions/fireselectionchanged.md) | If this flag is passed to SetSelection then the TreeView will call the its SelectionChanged method.                                     |
| [None](/engine/6000.7/script-reference/unityeditor/imgui/controls/treeviewselectionoptions/none.md)                                 | If this flag is passed to SetSelection no extra logic is be performed after setting selection.                                          |
| [RevealAndFrame](/engine/6000.7/script-reference/unityeditor/imgui/controls/treeviewselectionoptions/revealandframe.md)             | If this flag is passed to SetSelection then the TreeView will make sure the last item in the input selection list is visible on screen. |
