Show / Hide Table of Contents

Class ScrollBar

Represents a Cegui scroll bar

Inheritance
Object
Element
GuiElement
ScrollBar
Inherited Members
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.GuiScrollBar)]
public class ScrollBar : GuiElement

Constructors

| Improve this Doc View Source

ScrollBar(Vector2, Vector2, Boolean, Boolean, GuiElement)

Create a scroll bar

Declaration
public ScrollBar(Vector2 position, Vector2 dimensions, bool horizontal, bool relative = false, GuiElement parent = null)
Parameters
Type Name Description
Vector2 position
Vector2 dimensions
Boolean horizontal
Boolean relative
GuiElement parent

Properties

| Improve this Doc View Source

ScrollPosition

Get and set the position of this scroll bar (0-100)

Declaration
public float ScrollPosition { get; set; }
Property Value
Type Description
Single

Events

| Improve this Doc View Source

OnScroll

Declaration
public event ScrollBar.OnScrollHandler OnScroll
Event Type
Type Description
ScrollBar.OnScrollHandler
  • Improve this Doc
  • View Source
Back to top Generated by DocFX