Class UIActionBinder
- Namespace
- KSP.UI.Binding.Core
- Assembly
- Assembly-CSharp.dll
public abstract class UIActionBinder : UIDataContextBindBase, IUIDataContextBindable, IUIActionBinder, IUIActionBindable
- Inheritance
-
UIActionBinder
- Implements
-
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
UIActionBinder()
protected UIActionBinder()
Fields
IsBoundChanged
protected Action<bool> IsBoundChanged
Field Value
- Action<bool>
actionKey
protected string actionKey
Field Value
- string
Properties
Action
public IAction Action { get; }
Property Value
- IAction
ActionKey
public string ActionKey { get; set; }
Property Value
- string
CheckSelfForContextProvider
protected override bool CheckSelfForContextProvider { get; }
Property Value
- bool
HaveActionKey
public bool HaveActionKey { get; }
Property Value
- bool
IsBound
public bool IsBound { get; }
Property Value
- bool
IsContextKeyResolved
protected bool IsContextKeyResolved { get; set; }
Property Value
- bool
Methods
Awake()
protected override void Awake()
BindAction(IAction)
public virtual void BindAction(IAction action)
Parameters
action IAction
CheckForKeyRebinds(IDataContextReadonly)
protected override void CheckForKeyRebinds(IDataContextReadonly context)
Parameters
context IDataContextReadonly
UpdateBindingFromContext()
protected virtual void UpdateBindingFromContext()