# canHaveAnyAttribute

> Must return true if the UXML element attributes are not restricted to the values enumerated by IBaseUxmlFactory.uxmlAttributesDescription.

## Definition

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

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

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