# VisualElement.UxmlSerializedData

> This is used by the code generator when a custom control is using the UxmlElementAttribute.

## Definition

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

```csharp
public class VisualElement.UxmlSerializedData : UxmlSerializedData
```

## Static Methods

| Method                                                                                                          | Description                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Register](/engine/6000.0/script-reference/unityengine/uielements/visualelement/uxmlserializeddata/register.md) | This is used by the code generator when a custom control is using the [UxmlElementAttribute](/engine/6000.0/script-reference/unityengine/uielements/uxmlelementattribute.md). You should not need to call it. |

## Inheritance

**Inherited Members:**

* [UxmlSerializedData.ShouldWriteAttributeValue(UxmlAttributeFlags)](/engine/6000.0/script-reference/unityengine/uielements/uxmlserializeddata/shouldwriteattributevalue.md)
* [UxmlSerializedData.CreateInstance()](/engine/6000.0/script-reference/unityengine/uielements/uxmlserializeddata/createinstance.md)
* [UxmlSerializedData.Deserialize(Object)](/engine/6000.0/script-reference/unityengine/uielements/uxmlserializeddata/deserialize.md)
