# Editor.CanEditAttribute.CreateEditorFor

## Overload 1

```csharp
static Widget CreateEditorFor(System.Reflection.PropertyInfo property)
```

### Parameters

- `property` (`System.Reflection.PropertyInfo`)

### Returns

`Widget`

## Overload 2

```csharp
static Widget CreateEditorFor(System.Type t, IEnumerable<System.Attribute> attributes = null, System.Type[] generics = null)
```

### Parameters

- `t` (`System.Type`)
- `attributes` (`IEnumerable<System.Attribute>`), default `null`
- `generics` (`System.Type[]`), default `null`

### Returns

`Widget`

## Overload 3

```csharp
static Widget CreateEditorFor(string name)
```

### Parameters

- `name` (`string`)

### Returns

`Widget`

## Overload 4

```csharp
static Widget CreateEditorFor(System.Array array)
```

### Parameters

- `array` (`System.Array`)

### Returns

`Widget`

Declared in [Editor.CanEditAttribute](/api/Editor.CanEditAttribute).
Assembly: `Sandbox.Tools`.
