# TypedUxmlAttributeDescription<T>

> Base class for all the UXML specific attributes.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Inherits from:** [UxmlAttributeDescription](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription.md)

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

```csharp
public abstract class TypedUxmlAttributeDescription<T> : UxmlAttributeDescription
```

## Properties

| Property                                                                                                                              | Description                                                           |
| ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [defaultValue](/engine/6000.5/script-reference/unityengine/uielements/typeduxmlattributedescription1/defaultvalue.md)                 | The default value to be used for that specific attribute.             |
| [defaultValueAsString](/engine/6000.5/script-reference/unityengine/uielements/typeduxmlattributedescription1/defaultvalueasstring.md) | The string representation of the default value of the UXML attribute. |

## Methods

| Method                                                                                                                      | Description                                                  |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [GetValueFromBag](/engine/6000.5/script-reference/unityengine/uielements/typeduxmlattributedescription1/getvaluefrombag.md) | Use this method to obtain the actual value of the attribute. |

## Inheritance

**Inherited Members:**

* [UxmlAttributeDescription.TryGetValueFromBag\<T>(IUxmlAttributes, CreationContext, Func\<string, T, T>, T, T)](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/trygetvaluefrombag.md)
* [UxmlAttributeDescription.GetValueFromBag\<T>(IUxmlAttributes, CreationContext, Func\<string, T, T>, T)](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/getvaluefrombag.md)
* [UxmlAttributeDescription.name](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/name.md)
* [UxmlAttributeDescription.obsoleteNames](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/obsoletenames.md)
* [UxmlAttributeDescription.type](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/type.md)
* [UxmlAttributeDescription.typeNamespace](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/typenamespace.md)
* [UxmlAttributeDescription.use](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/use-1.md)
* [UxmlAttributeDescription.restriction](/engine/6000.5/script-reference/unityengine/uielements/uxmlattributedescription/restriction.md)
