C# Class ColorBox.DoubleUpDown

Inheritance: UpDownBase
Show file Open project: Gainedge/BetterExplorer

Protected Methods

Method Description
ConvertTextToValue ( string text ) : double?
ConvertValueToText ( ) : string
DoubleUpDown ( FromText fromText, FromDecimal fromDecimal, Func fromLowerThan, Func fromGreaterThan ) : System
OnDecrement ( ) : void
OnIncrement ( ) : void
SetValidSpinDirection ( ) : void
UpdateMetadata ( Type type, double increment, double minValue, double maxValue ) : void

Private Methods

Method Description
CoerceValueMinMax ( double value ) : double
DoubleUpDown ( ) : System
HandleNullSpin ( ) : bool
IsGreaterThan ( double value1, double value2 ) : bool
IsLowerThan ( double value1, double value2 ) : bool
ValidateDefaultMinMax ( double value ) : void

Method Details

ConvertTextToValue() protected method

protected ConvertTextToValue ( string text ) : double?
text string
return double?

ConvertValueToText() protected method

protected ConvertValueToText ( ) : string
return string

DoubleUpDown() protected method

protected DoubleUpDown ( FromText fromText, FromDecimal fromDecimal, Func fromLowerThan, Func fromGreaterThan ) : System
fromText FromText
fromDecimal FromDecimal
fromLowerThan Func
fromGreaterThan Func
return System

OnDecrement() protected method

protected OnDecrement ( ) : void
return void

OnIncrement() protected method

protected OnIncrement ( ) : void
return void

SetValidSpinDirection() protected method

protected SetValidSpinDirection ( ) : void
return void

UpdateMetadata() protected static method

protected static UpdateMetadata ( Type type, double increment, double minValue, double maxValue ) : void
type System.Type
increment double
minValue double
maxValue double
return void