# BaseFieldTraits<TValueType, TValueUxmlAttributeType>

> Traits for the BaseField.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Inherits from:** [BaseField\<T>](/engine/6000.5/script-reference/unityengine/uielements/basefield1/uxmltraits.md)

> **Warning:**
>
> **Deprecated.** BaseFieldTraits\<TValueType, TValueUxmlAttributeType> is deprecated and will be removed. Use UxmlElementAttribute instead.

```csharp
public class BaseFieldTraits<TValueType, TValueUxmlAttributeType> : BaseField<TValueType>.UxmlTraits where TValueUxmlAttributeType : TypedUxmlAttributeDescription<TValueType>, new()
```

## Inheritance

**Inherited Members:**

* [UxmlTraits.uxmlChildElementsDescription](/engine/6000.5/script-reference/unityengine/uielements/visualelement/uxmltraits/uxmlchildelementsdescription.md)
* [UxmlTraits.Init(VisualElement, IUxmlAttributes, CreationContext)](/engine/6000.5/script-reference/unityengine/uielements/uxmltraits/init.md)
* [BaseUxmlTraits.canHaveAnyAttribute](/engine/6000.5/script-reference/unityengine/uielements/baseuxmltraits/canhaveanyattribute.md)
* [BaseUxmlTraits.uxmlAttributesDescription](/engine/6000.5/script-reference/unityengine/uielements/baseuxmltraits/uxmlattributesdescription.md)
