You can structure UI with either UXML or C#.
Topic | 描述 |
---|---|
The visual tree | Structure elements in your UI into a visual tree. |
Structure UI with UXML | Write UXML files, add styles to UXML, and reuse UXML templates. |
Structure UI with C# scripts | Add and interact with UI controls in C#. |
Custom controls | Understand the steps to create and use custom controls. |
Best practices for managing elements | Things you can do to improve performance when you manage elements in a UI. |
UXML elements Reference | Find a complete list of all the UXML elements. |
Structure UI examples | Find a list of structure UI examples. |