C# 클래스 Gearset.Components.NumericSpinner

Interaction logic for the NumericSpinner control
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: juancampa/Gearset

공개 프로퍼티들

프로퍼티 타입 설명
IsEditing bool
ModeProperty System.Windows.DependencyProperty
ShowNaNProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

보호된 프로퍼티들

프로퍼티 타입 설명
traversalRequest System.Windows.Input.TraversalRequest

공개 메소드들

메소드 설명
Button1_MouseDownHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Button1_MouseMoveHandler ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Button1_MouseUpHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
NumericSpinner ( ) : System
TextBox1_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
TextBox1_LostFocus ( object sender, RoutedEventArgs e ) : void

비공개 메소드들

메소드 설명
Clamp ( int value, int min, int max ) : int
MouseDownHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs args ) : void
ValueChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

메소드 상세

Button1_MouseDownHandler() 공개 메소드

public Button1_MouseDownHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
리턴 void

Button1_MouseMoveHandler() 공개 메소드

public Button1_MouseMoveHandler ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
리턴 void

Button1_MouseUpHandler() 공개 메소드

public Button1_MouseUpHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
리턴 void

NumericSpinner() 공개 메소드

public NumericSpinner ( ) : System
리턴 System

TextBox1_KeyDown() 공개 메소드

public TextBox1_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
리턴 void

TextBox1_LostFocus() 공개 메소드

public TextBox1_LostFocus ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
리턴 void

프로퍼티 상세

IsEditing 공개적으로 프로퍼티

Defines the state of the spinner, if IsEditing is because the user is currently editing the value so the Updating value of the TreeNode will be set to false until the control loses focus.
public bool IsEditing
리턴 bool

ModeProperty 공개적으로 정적으로 프로퍼티

What type of numeric value will this spinner handle
public static DependencyProperty,System.Windows ModeProperty
리턴 System.Windows.DependencyProperty

ShowNaNProperty 공개적으로 정적으로 프로퍼티

Determines whether the spinner should be blank instead of showing a "NaN" value.
public static DependencyProperty,System.Windows ShowNaNProperty
리턴 System.Windows.DependencyProperty

ValueProperty 공개적으로 정적으로 프로퍼티

The numeric value held by this spinner. It must be unboxed to the type defined by the spinner mode.
public static DependencyProperty,System.Windows ValueProperty
리턴 System.Windows.DependencyProperty

traversalRequest 보호되어 있는 정적으로 프로퍼티

Defines a way to move the focus out of the textbox when enter is pressed.
protected static TraversalRequest,System.Windows.Input traversalRequest
리턴 System.Windows.Input.TraversalRequest