Show / Hide Table of Contents

Class UIComponent

Binding to UI components

Inheritance
System.Object
UIComponent
UIButton
UICheckable
UIPanel
UIPanelListItem
UIParagraph
UISelectList
UISlider
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class UIComponent : object

Properties

Anchor

Where this UIComponent should be on the screen.

Declaration
public EUIAnchor Anchor { get; set; }
Property Value
Type Description
EUIAnchor

AttachedData

Data attached to this Entity

Declaration
public object AttachedData { get; set; }
Property Value
Type Description
System.Object

Children

This UIComponent's children.

Declaration
public List<UIComponent> Children { get; }
Property Value
Type Description
List<UIComponent>
See Also
ClearChildren()
AddChild(UIComponent)

Draggable

Whether this UIComponent is draggable.

Declaration
public bool Draggable { get; set; }
Property Value
Type Description
System.Boolean

Enabled

Whether this component is "enabled"; i.e. interactable and rendered normally. Disabled components are not interactive and are rendered with a slight grayscale effect.

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

FillColor

The fill-color of this element.

Declaration
public Color FillColor { get; set; }
Property Value
Type Description
Color

Height

The height of this UIComponent.

Declaration
public float Height { get; set; }
Property Value
Type Description
System.Single

Locked

Whether this component should be drawn normally (i.e. not disabled) but otherwise not respond to events

Declaration
public bool Locked { get; set; }
Property Value
Type Description
System.Boolean

MaxSize

The maximum possible size this UIComponent can be.

Declaration
public Vector MaxSize { get; set; }
Property Value
Type Description
Vector

Parent

This UIComponent's parent.

Declaration
public UIComponent Parent { get; }
Property Value
Type Description
UIComponent

Size

The size of this UIComponent.

Declaration
public Vector Size { get; set; }
Property Value
Type Description
Vector

Visible

Whether this component is visible

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

Width

The width of this UIComponent.

Declaration
public float Width { get; set; }
Property Value
Type Description
System.Single

Methods

AddChild(UIComponent)

Add a child to this component.

Declaration
public void AddChild(UIComponent comp)
Parameters
Type Name Description
UIComponent comp

The child component to add.

BringToFront()

Bring this UIComponent to the front.

Declaration
public void BringToFront()

ClearChildren()

Clear this element's children.

Declaration
public void ClearChildren()
Back to top © 2020 Anarkis Gaming. All rights reserved. Generated by DocFX