# ICustomStyle

> This interface exposes methods to read custom style properties applied from USS files to visual elements.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public interface ICustomStyle
```

## Methods

| Method                                                                                            | Description                                                                                                                                             |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [TryGetValue](/engine/6000.0/script-reference/unityengine/uielements/icustomstyle/trygetvalue.md) | Gets the value associated with the specified [CustomStyleProperty\<T>](/engine/6000.0/script-reference/unityengine/uielements/customstyleproperty1.md). |
