C# 클래스 Microsoft.Samples.KMoore.WPFSamples.NumericUpDownControl.NumericUpDown

상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: daszat/zetbox 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ChangeProperty System.Windows.DependencyProperty
DecimalPlacesProperty System.Windows.DependencyProperty
MaximumProperty System.Windows.DependencyProperty
MinimumProperty System.Windows.DependencyProperty
ValueChangedEvent System.Windows.RoutedEvent
ValueProperty System.Windows.DependencyProperty
ValueStringProperty System.Windows.DependencyProperty

보호된 메소드들

메소드 설명
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnDecrease ( ) : void
OnIncrease ( ) : void
OnValueChanged ( RoutedPropertyChangedEventArgs args ) : void

Raises the ValueChanged event.

비공개 메소드들

메소드 설명
CoerceChange ( DependencyObject element, object value ) : object
CoerceMaximum ( DependencyObject element, object value ) : object
CoerceMinimum ( DependencyObject element, object value ) : object
CoerceValue ( DependencyObject element, object value ) : object
InitializeCommands ( ) : void
NumericUpDown ( ) : System
OnChangeChanged ( DependencyObject element, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnDecimalPlacesChanged ( DependencyObject element, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnDecreaseCommand ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnIncreaseCommand ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnMaximumChanged ( DependencyObject element, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnMinimumChanged ( DependencyObject element, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

This is a class handler for MouseLeftButtonDown event. The purpose of this handle is to move input focus to NumericUpDown when user pressed mouse left button on any part of slider that is not focusable.

OnValueChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
ValidateChange ( object value ) : bool
ValidateDecimalPlaces ( object value ) : bool
smallestForDecimalPlaces ( int decimalPlaces ) : decimal
updateValueString ( ) : void

메소드 상세

OnCreateAutomationPeer() 보호된 메소드

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
리턴 System.Windows.Automation.Peers.AutomationPeer

OnDecrease() 보호된 메소드

protected OnDecrease ( ) : void
리턴 void

OnIncrease() 보호된 메소드

protected OnIncrease ( ) : void
리턴 void

OnValueChanged() 보호된 메소드

Raises the ValueChanged event.
protected OnValueChanged ( RoutedPropertyChangedEventArgs args ) : void
args RoutedPropertyChangedEventArgs Arguments associated with the ValueChanged event.
리턴 void

프로퍼티 상세

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

public static DependencyProperty,System.Windows ChangeProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows DecimalPlacesProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows MaximumProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows MinimumProperty
리턴 System.Windows.DependencyProperty

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

Identifies the ValueChanged routed event.
public static RoutedEvent,System.Windows ValueChangedEvent
리턴 System.Windows.RoutedEvent

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

Identifies the Value dependency property.
public static DependencyProperty,System.Windows ValueProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows ValueStringProperty
리턴 System.Windows.DependencyProperty