# Register()

> This is used by the code generator when a custom control is using the UxmlElementAttribute. You should not need to call it.

## Definition

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

```csharp
public static void Register()
```
