# OpenAndScrollTo

> Call a method to open GraphicsSettings page and scroll to specified property.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Inspector.GraphicsSettingsInspectors](/engine/6000.7/script-reference/unityeditor/inspector/graphicssettingsinspectors.md)
* **Assembly:** UnityEditor.CoreModule

## OpenAndScrollTo(string)

Call a method to open GraphicsSettings page and scroll to specified property.

```csharp
public static void OpenAndScrollTo(string propertyPath)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Provide a property path from [SerializedProperty.propertyPath](/engine/6000.7/script-reference/unityeditor/serializedproperty/propertypath.md).

## OpenAndScrollTo(Type)

Call a method to open GraphicsSettings page and scroll to specified property.

```csharp
public static void OpenAndScrollTo(Type renderPipelineGraphicsSettingsType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): Provide a `Type` derived from [IRenderPipelineGraphicsSettings](/engine/6000.7/script-reference/unityengine/rendering/irenderpipelinegraphicssettings.md).

## OpenAndScrollTo\<T>(string)

Call a method to open GraphicsSettings page and scroll to specified property.

```csharp
public static void OpenAndScrollTo<TGraphicsSettings>(string propertyPath = "") where TGraphicsSettings : IRenderPipelineGraphicsSettings
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Provide a property path from [SerializedProperty.propertyPath](/engine/6000.7/script-reference/unityeditor/serializedproperty/propertypath.md).

## OpenAndScrollTo\<T, U>(Func\<T, bool>)

Call a method to open GraphicsSettings page and scroll to specified property.

```csharp
public static void OpenAndScrollTo<TGraphicsSettings, TVisualElement>(Func<TVisualElement, bool> subElementFunc = null) where TGraphicsSettings : IRenderPipelineGraphicsSettings where TVisualElement : VisualElement
```

### Parameters

**** (\[Func\<T, bool>]\(https\://learn.microsoft.com/dotnet/api/system.func-1)): Provide a method to choose a subElement of the provided [IRenderPipelineGraphicsSettings](/engine/6000.7/script-reference/unityengine/rendering/irenderpipelinegraphicssettings.md) type.
