# canHaveAnyAttribute

> Returns UxmlTraits _canHaveAnyAttribute (where UxmlTraits is the argument for T1 ).

## Definition

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

> **Warning:**
>
> **Deprecated.** BaseUxmlFactory\<TCreatedType, TTraits> is deprecated and will be removed. Use UxmlElementAttribute instead.

```csharp
public bool canHaveAnyAttribute { get; }
```
