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

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

Public Properties

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

Public Methods

Method Description
ThicknessPropertyEditor ( ) : Windows.System

Private Methods

Method Description
CancelTextInput ( ) : 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.

OnNumericUpDownValueChanged ( object sender, RangeBaseValueChangedEventArgs e ) : void
OnValueChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Value property.

OnValueChanged ( object oldValue, object newValue ) : void

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

ReadModelValue ( ) : void
TextInput_OnGotFocus ( object sender, RoutedEventArgs e ) : void
TextInput_OnKeyDown ( object sender, KeyRoutedEventArgs e ) : void
TextInput_OnLostFocus ( object sender, RoutedEventArgs e ) : void
TryUpdateModelFromTextInput ( ) : bool
UpdateTextInput ( Thickness thickness ) : void

Method Details

ThicknessPropertyEditor() public method

public ThicknessPropertyEditor ( ) : Windows.System
return Windows.System

Property Details

ModelProperty public_oe static_oe property

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

ValueProperty public_oe static_oe property

Value Dependency Property
public static DependencyProperty,Windows.UI.Xaml ValueProperty
return Windows.UI.Xaml.DependencyProperty