# PopupWindow.UxmlTraits

> Defines PopupWindow.UxmlTraits for the PopupWindow.

## Definition

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

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

```csharp
public class PopupWindow.UxmlTraits : TextElement.UxmlTraits
```

## Properties

| Property                                                                                                                                      | Description                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [uxmlChildElementsDescription](/engine/6000.5/script-reference/unityengine/uielements/popupwindow/uxmltraits/uxmlchildelementsdescription.md) | Returns an empty enumerable, as popup windows generally do not have children. |

## Inheritance

**Inherited Members:**

* [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)
