# ShowDetailsOptions

> Defines what details are shown in the preview inspector panel for the search view.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Search](/engine/6000.6/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
[Flags]
public enum ShowDetailsOptions
```

## Remarks

![Example ShowDetailsOptions (ShowDetailsOptions)](/api/media?file=/engine/6000.6/media/images/Example_ShowDetailsOptions.png).

## Examples

```csharp
[SearchItemProvider]
internal static SearchProvider CreateProvider()
{
    return new SearchProvider(id, name)
    {
        filterId = "hex:",
        priority = 99999, // put example provider at a low priority
        showDetailsOptions = ShowDetailsOptions.Description | ShowDetailsOptions.Preview,
        fetchItems = (context, items, provider) => FetchItems(context, provider),
        fetchPreview = (item, context, size, options) =>
        {
            return CreateTextureFromColor(item.id, (int)size.x, (int)size.y);
        },
    };
}
```

## Fields

| Value                                                                                                                     | Description                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Actions](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/actions.md)                               | Shows selected item possible actions.                                                                                                                           |
| [Default](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/default.md)                               | Default set of options used when [SearchProvider.showDetails](/engine/6000.6/script-reference/unityeditor/search/searchprovider/showdetails.md) is set to true. |
| [DefaultGroup](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/defaultgroup.md)                     | Indicates that the provider will always be displayed as a group (tab) even if the result set is empty.                                                          |
| [Description](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/description.md)                       | Show an extended item description.                                                                                                                              |
| [Inspector](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/inspector.md)                           | Show an embedded inspector for the selected object.                                                                                                             |
| [InspectorWithoutHeader](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/inspectorwithoutheader.md) | Show an embedded inspector for the selected object. Won't show the editor header.                                                                               |
| [ListView](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/listview.md)                             | Indicates that this search provider wants to display its items in a list view if possible.                                                                      |
| [None](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/none.md)                                     | No options are defined.                                                                                                                                         |
| [Preview](/engine/6000.6/script-reference/unityeditor/search/showdetailsoptions/preview.md)                               | Show a large preview.                                                                                                                                           |
