# UxmlTraits()

> Constructor.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.3/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** UxmlTraits is deprecated and will be removed. Use UxmlElementAttribute instead.

```csharp
public UxmlTraits()
```
