# exposeToUxml

> Whether the component can be authored in UXML. The fields marked UxmlAttributeAttribute define the component's authorable surface either way; this flag only decides whether UXML sees it. Pass false for a component that is attached from code only.

## Definition

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

```csharp
public bool exposeToUxml { get; }
```
