C# Class ColorBox.DoubleUpDown

Inheritance: UpDownBase
Afficher le fichier Open project: Gainedge/BetterExplorer

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected ConvertTextToValue ( string text ) : double?
text string
Résultat double?

ConvertValueToText() protected méthode

protected ConvertValueToText ( ) : string
Résultat string

DoubleUpDown() protected méthode

protected DoubleUpDown ( FromText fromText, FromDecimal fromDecimal, Func fromLowerThan, Func fromGreaterThan ) : System
fromText FromText
fromDecimal FromDecimal
fromLowerThan Func
fromGreaterThan Func
Résultat System

OnDecrement() protected méthode

protected OnDecrement ( ) : void
Résultat void

OnIncrement() protected méthode

protected OnIncrement ( ) : void
Résultat void

SetValidSpinDirection() protected méthode

protected SetValidSpinDirection ( ) : void
Résultat void

UpdateMetadata() protected static méthode

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