# StylePropertyAttribute(string)

> Initializes a new instance of the StylePropertyAttribute class.

## Definition

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

```csharp
public StylePropertyAttribute(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Custom USS property name, for example `"--my-color"`.
