You can create custom controls and implement custom logic for user interface elements.
| Topic | Description |
|---|---|
| Create custom controls | Understand the basics of creating and using custom controls. |
| Configure the custom control name and visibility in UI Builder | Use the UxmlElement attribute to change how your custom controls appear in UXML and in the UI Builder library. |
| Define UXML attributes for built-in types | Define UXML attributes for a custom control to expose properties in UXML and UI Builder. |
| Define UXML attributes for complex data types | Use attribute converter and UxmlObject to define UXML attributes for complex data types. |
| Customize UXML attributes | Customize UXML attributes’ names, behaviors, decorators, and property drawers in UI Builder. |
| Bind custom control to data | Bind custom controls to serialized properties to synchronize values between the control and the property. |
| Define a namespace prefix | Use UxmlNamespacePrefix attribute to define a namespace prefix. |
| Troubleshooting custom control library compilation | Troubleshoot issues with custom control library compilation. |