Show / Hide Table of Contents

Class GuiElement

Inheritance
Object
Element
GuiElement
Button
CheckBox
ComboBox
EditableGuiElement
GridList
GuiBrowser
Label
ProgressBar
RadioButton
ScrollBar
ScrollPane
StaticImage
Tab
TabPanel
Window
Inherited Members
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
public abstract class GuiElement : Element

Properties

| Improve this Doc View Source

Alpha

Get and set the alpha of this GUI element

Declaration
public float Alpha { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

Content

Get and set the text value

Declaration
public string Content { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

CustomFont

Get and set the custom font of this element

Declaration
public GuiFont CustomFont { get; set; }
Property Value
Type Description
GuiFont
| Improve this Doc View Source

Enabled

Get and set if this element is enabled

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

Position

Get and set the absolute position of this element on the screen

Declaration
public Vector2 Position { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

RelativePosition

Get and set the relative position of this element to its parent

Declaration
public Vector2 RelativePosition { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

RelativeSize

Get and set the relative size of this element to its parent

Declaration
public Vector2 RelativeSize { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

Size

Get and set the absolute size of this element on the screen

Declaration
public Vector2 Size { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

StandardFont

Get and set the standard font of this element

Declaration
public StandardGuiFont StandardFont { get; set; }
Property Value
Type Description
StandardGuiFont
| Improve this Doc View Source

Visible

Get and set if this GUI element is visible

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

Methods

| Improve this Doc View Source

Blur()

Blur this Gui Element

Declaration
public bool Blur()
Returns
Type Description
Boolean
| Improve this Doc View Source

BringToFront()

This function brings a Gui element on top of others.

Declaration
public bool BringToFront()
Returns
Type Description
Boolean
| Improve this Doc View Source

Focus()

Focus on this Gui Element

Declaration
public bool Focus()
Returns
Type Description
Boolean
| Improve this Doc View Source

GetProperty(String)

Get a Cegui property

Declaration
public string GetProperty(string property)
Parameters
Type Name Description
String property
Returns
Type Description
String
| Improve this Doc View Source

MoveToBack()

This function moves a GUI element to the very back of all other GUI elements.

Declaration
public bool MoveToBack()
Returns
Type Description
Boolean
| Improve this Doc View Source

SetProperty(String, String)

Set a Cegui property

Declaration
public bool SetProperty(string property, string value)
Parameters
Type Name Description
String property
String value
Returns
Type Description
Boolean

Events

| Improve this Doc View Source

OnBlur

Declaration
public event GuiElement.OnBlurHandler OnBlur
Event Type
Type Description
GuiElement.OnBlurHandler
| Improve this Doc View Source

OnClick

Declaration
public event GuiElement.OnClickHandler OnClick
Event Type
Type Description
GuiElement.OnClickHandler
| Improve this Doc View Source

OnDoubleClick

Declaration
public event GuiElement.OnDoubleClickHandler OnDoubleClick
Event Type
Type Description
GuiElement.OnDoubleClickHandler
| Improve this Doc View Source

OnFocus

Declaration
public event GuiElement.OnFocusHandler OnFocus
Event Type
Type Description
GuiElement.OnFocusHandler
| Improve this Doc View Source

OnMouseDown

Declaration
public event GuiElement.OnMouseDownHandler OnMouseDown
Event Type
Type Description
GuiElement.OnMouseDownHandler
| Improve this Doc View Source

OnMouseEnter

Declaration
public event GuiElement.OnMouseEnterHandler OnMouseEnter
Event Type
Type Description
GuiElement.OnMouseEnterHandler
| Improve this Doc View Source

OnMouseLeave

Declaration
public event GuiElement.OnMouseLeaveHandler OnMouseLeave
Event Type
Type Description
GuiElement.OnMouseLeaveHandler
| Improve this Doc View Source

OnMouseMove

Declaration
public event GuiElement.OnMouseMoveHandler OnMouseMove
Event Type
Type Description
GuiElement.OnMouseMoveHandler
| Improve this Doc View Source

OnMouseUp

Declaration
public event GuiElement.OnMouseUpHandler OnMouseUp
Event Type
Type Description
GuiElement.OnMouseUpHandler
| Improve this Doc View Source

OnMouseWheel

Declaration
public event GuiElement.OnMouseWheelHandler OnMouseWheel
Event Type
Type Description
GuiElement.OnMouseWheelHandler
| Improve this Doc View Source

OnMove

Declaration
public event GuiElement.OnMoveHandler OnMove
Event Type
Type Description
GuiElement.OnMoveHandler
| Improve this Doc View Source

OnResize

Declaration
public event GuiElement.OnResizeHandler OnResize
Event Type
Type Description
GuiElement.OnResizeHandler
  • Improve this Doc
  • View Source
Back to top Generated by DocFX