# Sandbox.UI.BaseControl.CreateFor

```csharp
static BaseControl CreateFor(SerializedProperty property)
```

Create a BaseControl for a given SerializedProperty.
We'll look at BaseControls with [CustomEditor] attributes and see if any of them can handle this property.

### Parameters

- `property` (`SerializedProperty`)

### Returns

`BaseControl`

Declared in [Sandbox.UI.BaseControl](/api/Sandbox.UI.BaseControl).
Assembly: `Sandbox.Engine`.
