C# Class Gu.Wpf.PropertyGrid.UnitRows.PressureRow

Inheritance: UnitRowGeneric, IQuantityFormatter
Afficher le fichier Open project: JohanLarsson/Gu.Wpf.PropertyGrid

Méthodes publiques

Свойство Type Description
DefaultUnit PressureUnit
MaxValueProperty System.Windows.DependencyProperty
MinValueProperty System.Windows.DependencyProperty
UnitProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

Méthodes protégées

Méthode Description
CreateSuffix ( SymbolFormat format ) : string
CreateSuffix ( SymbolFormat format, PressureUnit unit ) : string
OnMaxValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaxValueChanged ( Pressure oldValue, Pressure newValue ) : void
OnMinValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMinValueChanged ( Pressure oldValue, Pressure newValue ) : void
OnScalarMaxValueChanged ( double newValue ) : void
OnScalarMinValueChanged ( double newValue ) : void
OnScalarValueChanged ( double newValue ) : void
OnUnitChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnValueChanged ( object oldValue, object newValue ) : void
SetQuantityValue ( DependencyProperty property, double value ) : void
SetScalarValue ( DependencyProperty property, Pressure quantity ) : void
UpdateIsDirty ( ) : void

Private Methods

Méthode Description
IQuantityFormatter ( IQuantity quantity ) : string
PressureRow ( ) : System.Windows

Method Details

CreateSuffix() protected méthode

protected CreateSuffix ( SymbolFormat format ) : string
format SymbolFormat
Résultat string

CreateSuffix() protected static méthode

protected static CreateSuffix ( SymbolFormat format, PressureUnit unit ) : string
format SymbolFormat
unit PressureUnit
Résultat string

OnMaxValueChanged() protected static méthode

protected static OnMaxValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

OnMaxValueChanged() protected méthode

protected OnMaxValueChanged ( Pressure oldValue, Pressure newValue ) : void
oldValue Pressure
newValue Pressure
Résultat void

OnMinValueChanged() protected static méthode

protected static OnMinValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

OnMinValueChanged() protected méthode

protected OnMinValueChanged ( Pressure oldValue, Pressure newValue ) : void
oldValue Pressure
newValue Pressure
Résultat void

OnScalarMaxValueChanged() protected méthode

protected OnScalarMaxValueChanged ( double newValue ) : void
newValue double
Résultat void

OnScalarMinValueChanged() protected méthode

protected OnScalarMinValueChanged ( double newValue ) : void
newValue double
Résultat void

OnScalarValueChanged() protected méthode

protected OnScalarValueChanged ( double newValue ) : void
newValue double
Résultat void

OnUnitChanged() protected static méthode

protected static OnUnitChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

OnValueChanged() protected méthode

protected OnValueChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
Résultat void

SetQuantityValue() protected méthode

protected SetQuantityValue ( DependencyProperty property, double value ) : void
property System.Windows.DependencyProperty
value double
Résultat void

SetScalarValue() protected méthode

protected SetScalarValue ( DependencyProperty property, Pressure quantity ) : void
property System.Windows.DependencyProperty
quantity Pressure
Résultat void

UpdateIsDirty() protected méthode

protected UpdateIsDirty ( ) : void
Résultat void

Property Details

DefaultUnit public_oe static_oe property

public static PressureUnit DefaultUnit
Résultat PressureUnit

MaxValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaxValueProperty
Résultat System.Windows.DependencyProperty

MinValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows MinValueProperty
Résultat System.Windows.DependencyProperty

UnitProperty public_oe static_oe property

public static DependencyProperty,System.Windows UnitProperty
Résultat System.Windows.DependencyProperty

ValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows ValueProperty
Résultat System.Windows.DependencyProperty