Table of Contents

Class UIValue_WriteNumber_Field

Namespace
KSP.UI.Binding
Assembly
Assembly-CSharp.dll
public class UIValue_WriteNumber_Field : UIValueBinder, IUIDataContextBindable, IUIValueBinder, IUIValueBindable
Inheritance
UIValue_WriteNumber_Field
Implements
Inherited Members
Extension Methods

Constructors

UIValue_WriteNumber_Field()

public UIValue_WriteNumber_Field()

Methods

GetNumberAsString()

protected virtual string GetNumberAsString()

Returns

string

OnDisable()

protected void OnDisable()

OnEnable()

protected virtual void OnEnable()

OnFieldEditEnd(string)

protected virtual void OnFieldEditEnd(string newValue)

Parameters

newValue string

OnFieldValueChanged(string)

protected virtual void OnFieldValueChanged(string newValue)

Parameters

newValue string

RedrawValue(bool)

public override void RedrawValue(bool instant = true)

Parameters

instant bool

SetValueFromString(string)

protected virtual void SetValueFromString(string newValue)

Parameters

newValue string

TryParseNumberFromString(string, out object)

protected virtual bool TryParseNumberFromString(string toParse, out object parsed)

Parameters

toParse string
parsed object

Returns

bool