Class Memo
Represents a multi-line gui edit box
Inherited Members
Namespace: Slipe.Client.Gui
Assembly: SlipeClient.dll
Syntax
[DefaultElementClass(ElementType.GuiMemo)]
public class Memo : EditableGuiElement
Constructors
| Improve this Doc View SourceMemo(Vector2, Vector2, String, Boolean, GuiElement)
Create a new memo
Declaration
public Memo(Vector2 position, Vector2 dimensions, string defaultText, bool relative = false, GuiElement parent = null)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | position | |
Vector2 | dimensions | |
String | defaultText | |
Boolean | relative | |
GuiElement | parent |
Properties
| Improve this Doc View SourceCarretIndex
Get and set the caret position within the memo box
Declaration
public int CarretIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ReadOnly
Get and set if this memo is read-only
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
VerticalScrollPosition
Get and set the scroll position (0-100)
Declaration
public float VerticalScrollPosition { get; set; }
Property Value
Type | Description |
---|---|
Single |