# PropertyField

> PropertyField constructor.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor.UIElements](/engine/6000.6/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor.CoreModule

## PropertyField()

PropertyField constructor.

```csharp
public PropertyField()
```

### Remarks

You will still have to call Bind() on the PropertyField afterwards.

## PropertyField(SerializedProperty)

PropertyField constructor.

```csharp
public PropertyField(SerializedProperty property)
```

### Parameters

**** (\[SerializedProperty]\(/engine/6000.6/script-reference/unityeditor/serializedproperty)): Providing a SerializedProperty in the construct just sets the bindingPath. You will still have to call Bind() on the PropertyField afterwards.

### Remarks

You will still have to call Bind() on the PropertyField afterwards.

## PropertyField(SerializedProperty, string)

PropertyField constructor.

```csharp
public PropertyField(SerializedProperty property, string label)
```

### Parameters

**** (\[SerializedProperty]\(/engine/6000.6/script-reference/unityeditor/serializedproperty)): Providing a SerializedProperty in the construct just sets the bindingPath. You will still have to call Bind() on the PropertyField afterwards.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Optionally overwrite the property label.

### Remarks

You will still have to call Bind() on the PropertyField afterwards.
