C# Class WinRTXamlToolkit.Debugging.Views.PropertyEditors.NumericPropertyEditor

Inheritance: Windows.UI.Xaml.Controls.UserControl
Mostra file Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
ModelProperty Windows.UI.Xaml.DependencyProperty
NumericTypeProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
NumericPropertyEditor ( ) : System

Private Methods

Method Description
AutoCheckBox_OnChecked ( object sender, RoutedEventArgs e ) : void
AutoCheckBox_OnUnchecked ( object sender, RoutedEventArgs e ) : void
OnModelChanged ( BasePropertyViewModel oldModel, BasePropertyViewModel newModel ) : void

Provides derived classes an opportunity to handle changes to the Model property.

OnModelChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Model property.

OnModelPropertyChanged ( object sender, System e ) : void
OnNumericTypeChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the NumericType property.

OnNumericTypeChanged ( Type oldNumericType, Type newNumericType ) : void

Provides derived classes an opportunity to handle changes to the NumericType property.

OnNumericUpDownValueChanged ( object sender, RangeBaseValueChangedEventArgs e ) : void
ReadModelValue ( ) : void

Reads the model value and based on the type and known dependency property details determines the minimum and maximum values as well as comfortable change speeds.

UpdateModelNumericValue ( BasePropertyViewModel model ) : void

Method Details

NumericPropertyEditor() public method

public NumericPropertyEditor ( ) : System
return System

Property Details

ModelProperty public_oe static_oe property

Model Dependency Property
public static DependencyProperty,Windows.UI.Xaml ModelProperty
return Windows.UI.Xaml.DependencyProperty

NumericTypeProperty public_oe static_oe property

NumericType Dependency Property
public static DependencyProperty,Windows.UI.Xaml NumericTypeProperty
return Windows.UI.Xaml.DependencyProperty