Class UIValueBinderGroup
- Namespace
- KSP.UI.Binding.Core
- Assembly
- Assembly-CSharp.dll
public class UIValueBinderGroup : UIValueBinder, IUIDataContextBindable, IUIValueBinder, IUIValueNumberBindable, IUIValueEnumBindable, IUIValueBindable
- Inheritance
-
UIValueBinderGroup
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
UIValueBinderGroup()
public UIValueBinderGroup()
Methods
Awake()
protected override void Awake()
BindValue(IProperty)
public override void BindValue(IProperty valueProperty)
Parameters
valueProperty IProperty
BindValue(IProperty, IEnumerable<string>)
public void BindValue(IProperty enumValueProperty, IEnumerable<string> enumValues)
Parameters
enumValueProperty IProperty
enumValues IEnumerable<string>
BindValue(IProperty, double, double)
public void BindValue(IProperty numberProperty, double min, double max)
Parameters
numberProperty IProperty
min double
max double
BindValue(IProperty, Type)
public void BindValue(IProperty enumValueProperty, Type enumType)
Parameters
enumValueProperty IProperty
enumType Type
OnClick()
public override void OnClick()
RedrawValue(bool)
public override void RedrawValue(bool instant = true)
Parameters
instant bool
SetMappedEnum(Type, bool)
public void SetMappedEnum(Type enumType, bool shouldRedraw = true)
Parameters
enumType Type
shouldRedraw bool
SetMappedEnumValues(IEnumerable<string>, bool)
public void SetMappedEnumValues(IEnumerable<string> enumValues, bool shouldRedraw = true)
Parameters
enumValues IEnumerable<string>
shouldRedraw bool
SetMappedValueRange(double, double, bool)
public void SetMappedValueRange(double min, double max, bool shouldRedraw = true)
Parameters
min double
max double
shouldRedraw bool