Class ButtonList
Display a list of entries with a custom titled and colored button optionally displayed for each.
Inheritance
System.Object
ButtonList
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
public class ButtonList : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged
Constructors
Declaration
Fields
Declaration
public Action<Player> AddClickedEvent
Field Value
Type |
Description |
System.Action<Player> |
|
Declaration
public Action<Player, object> ApplyClickedEvent
Field Value
Type |
Description |
System.Action<Player, System.Object> |
|
Declaration
public Action<Player, object> DeletedClickedEvent
Field Value
Type |
Description |
System.Action<Player, System.Object> |
|
Properties
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool HasAddButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public ControllerList<ButtonListEntry> List { get; set; }
Property Value
Declaration
public LocString Title { get; set; }
Property Value
Methods
Declaration
public void Add(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Events
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods