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

Inheritance: UnitRowGeneric, IQuantityFormatter
Mostra file Open project: JohanLarsson/Gu.Wpf.PropertyGrid

Public Properties

Property Type Description
DefaultUnit CatalyticActivityUnit
MaxValueProperty System.Windows.DependencyProperty
MinValueProperty System.Windows.DependencyProperty
UnitProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

Protected Methods

Method Description
CreateSuffix ( SymbolFormat format ) : string
CreateSuffix ( SymbolFormat format, CatalyticActivityUnit unit ) : string
OnMaxValueChanged ( CatalyticActivity oldValue, CatalyticActivity newValue ) : void
OnMaxValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMinValueChanged ( CatalyticActivity oldValue, CatalyticActivity newValue ) : void
OnMinValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : 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, CatalyticActivity quantity ) : void
UpdateIsDirty ( ) : void

Private Methods

Method Description
CatalyticActivityRow ( ) : System.Windows
IQuantityFormatter ( IQuantity quantity ) : string

Method Details

CreateSuffix() protected method

protected CreateSuffix ( SymbolFormat format ) : string
format SymbolFormat
return string

CreateSuffix() protected static method

protected static CreateSuffix ( SymbolFormat format, CatalyticActivityUnit unit ) : string
format SymbolFormat
unit CatalyticActivityUnit
return string

OnMaxValueChanged() protected method

protected OnMaxValueChanged ( CatalyticActivity oldValue, CatalyticActivity newValue ) : void
oldValue CatalyticActivity
newValue CatalyticActivity
return void

OnMaxValueChanged() protected static method

protected static OnMaxValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnMinValueChanged() protected method

protected OnMinValueChanged ( CatalyticActivity oldValue, CatalyticActivity newValue ) : void
oldValue CatalyticActivity
newValue CatalyticActivity
return void

OnMinValueChanged() protected static method

protected static OnMinValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnScalarMaxValueChanged() protected method

protected OnScalarMaxValueChanged ( double newValue ) : void
newValue double
return void

OnScalarMinValueChanged() protected method

protected OnScalarMinValueChanged ( double newValue ) : void
newValue double
return void

OnScalarValueChanged() protected method

protected OnScalarValueChanged ( double newValue ) : void
newValue double
return void

OnUnitChanged() protected static method

protected static OnUnitChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnValueChanged() protected method

protected OnValueChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
return void

SetQuantityValue() protected method

protected SetQuantityValue ( DependencyProperty property, double value ) : void
property System.Windows.DependencyProperty
value double
return void

SetScalarValue() protected method

protected SetScalarValue ( DependencyProperty property, CatalyticActivity quantity ) : void
property System.Windows.DependencyProperty
quantity CatalyticActivity
return void

UpdateIsDirty() protected method

protected UpdateIsDirty ( ) : void
return void

Property Details

DefaultUnit public_oe static_oe property

public static CatalyticActivityUnit DefaultUnit
return CatalyticActivityUnit

MaxValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaxValueProperty
return System.Windows.DependencyProperty

MinValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows MinValueProperty
return System.Windows.DependencyProperty

UnitProperty public_oe static_oe property

public static DependencyProperty,System.Windows UnitProperty
return System.Windows.DependencyProperty

ValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows ValueProperty
return System.Windows.DependencyProperty