Show / Hide Table of Contents

Class Edit

A Cegui single line text field

Inheritance
Object
Element
GuiElement
EditableGuiElement
Edit
Inherited Members
EditableGuiElement.OnChanged
GuiElement.Visible
GuiElement.Alpha
GuiElement.Enabled
GuiElement.StandardFont
GuiElement.CustomFont
GuiElement.Position
GuiElement.RelativePosition
GuiElement.Size
GuiElement.RelativeSize
GuiElement.Content
GuiElement.BringToFront()
GuiElement.MoveToBack()
GuiElement.Blur()
GuiElement.Focus()
GuiElement.SetProperty(String, String)
GuiElement.GetProperty(String)
GuiElement.OnBlur
GuiElement.OnFocus
GuiElement.OnClick
GuiElement.OnDoubleClick
GuiElement.OnMouseDown
GuiElement.OnMouseUp
GuiElement.OnMove
GuiElement.OnResize
GuiElement.OnMouseEnter
GuiElement.OnMouseLeave
GuiElement.OnMouseMove
GuiElement.OnMouseWheel
Element.element
Element.Root
Element.MTAElement
Element.Type
Element.ID
Element.Exists
Element.ChildCount
Element.Parent
Element.CallPropagationEnabled
Element.SetData(String, Object, Boolean)
Element.GetData(String, Boolean)
Element.TryGetData(String, Object, Boolean)
Element.GetData<T>(String, Boolean)
Element.TryGetData<T>(String, T, Boolean)
Element.Destroy()
Element.GetChild(Int32)
Element.GetChildren(String)
Element.GetByID(String, Int32)
Element.ListenForEvent(String, Boolean, String)
Element.HandleEvent(String, MtaElement, Object, Object, Object, Object, Object, Object, Object, Object)
Element.OnDestroy
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Gui
Assembly: SlipeClient.dll
Syntax
[DefaultElementClass(ElementType.GuiEdit)]
public class Edit : EditableGuiElement

Constructors

| Improve this Doc View Source

Edit(Vector2, Vector2, String, Boolean, GuiElement, Boolean, Int32)

Create a new edit

Declaration
public Edit(Vector2 position, Vector2 dimensions, string defaultContent, bool relative = false, GuiElement parent = null, bool masked = false, int maxLength = 128)
Parameters
Type Name Description
Vector2 position
Vector2 dimensions
String defaultContent
Boolean relative
GuiElement parent
Boolean masked
Int32 maxLength

Properties

| Improve this Doc View Source

CaretIndex

Get and set the car position within the editbox

Declaration
public int CaretIndex { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Masked

Get and set if this edit is masked (password input)

Declaration
public bool Masked { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

MaxLength

Get and set the max text length that can be typed within this editbox

Declaration
public int MaxLength { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

ReadOnly

Get and set if this editbox is read-only

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
Boolean

Events

| Improve this Doc View Source

OnAccepted

Declaration
public event Edit.OnAcceptedHandler OnAccepted
Event Type
Type Description
Edit.OnAcceptedHandler
  • Improve this Doc
  • View Source
Back to top Generated by DocFX