Show / Hide Table of Contents

Class ButtonList

Display a list of entries with a custom titled and colored button optionally displayed for each.

Inheritance
System.Object
ButtonList
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.UI
Assembly: Eco.Gameplay.dll
Syntax
public class ButtonList : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged

Constructors

ButtonList()

Declaration
public ButtonList()

Fields

AddClickedEvent

Declaration
public Action<Player> AddClickedEvent
Field Value
Type Description
System.Action<Player>

ApplyClickedEvent

Declaration
public Action<Player, object> ApplyClickedEvent
Field Value
Type Description
System.Action<Player, System.Object>

DeletedClickedEvent

Declaration
public Action<Player, object> DeletedClickedEvent
Field Value
Type Description
System.Action<Player, System.Object>

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

HasAddButton

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

List

Declaration
public ControllerList<ButtonListEntry> List { get; set; }
Property Value
Type Description
ControllerList<ButtonListEntry>

Title

Declaration
public LocString Title { get; set; }
Property Value
Type Description
LocString

Methods

Add(Player)

Declaration
public void Add(Player player)
Parameters
Type Name Description
Player player

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾