# Editor.LineEdit.MaxLength

```csharp
int MaxLength { get; set; }
```

User entered text can never be longer than this many characters (not bytes).

Declared in [Editor.LineEdit](/api/Editor.LineEdit).
Assembly: `Sandbox.Tools`.
