C# 클래스 csCommon.Controls.PropertyDial

Follow steps 1a or 1b and then 2 to use this custom control in a XAML file. Step 1a) Using this custom control in a XAML file that exists in the current project. Add this XmlNamespace attribute to the root element of the markup file where it is to be used: xmlns:MyNamespace="clr-namespace:NetMatch" Step 1b) Using this custom control in a XAML file that exists in a different project. Add this XmlNamespace attribute to the root element of the markup file where it is to be used: xmlns:MyNamespace="clr-namespace:NetMatch;assembly=NetMatch" You will also need to add a project reference from the project where the XAML file lives to this project and Rebuild to avoid compilation errors: Right click on the target project in the Solution Explorer and "Add Reference"->"Projects"->[Browse to and select this project] Step 2) Go ahead and use your control in the XAML file.
상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: TNOCS/csTouch

공개 프로퍼티들

프로퍼티 타입 설명
AngleProperty System.Windows.DependencyProperty
CircleOffsetProperty System.Windows.DependencyProperty
CircleSizeProperty System.Windows.DependencyProperty
MaxProperty System.Windows.DependencyProperty
MinProperty System.Windows.DependencyProperty
RelatieveTurnsProperty System.Windows.DependencyProperty
StartAngleProperty System.Windows.DependencyProperty
UnitSizeProperty System.Windows.DependencyProperty
UnitStringProperty System.Windows.DependencyProperty
ValueFormatProperty System.Windows.DependencyProperty
ValueModeProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty
ValueStringProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
OnApplyTemplate ( ) : void
PropertyDial_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
PropertyDial_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
PropertyDial_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
PropertyDial_TouchDown ( object sender, System.Windows.Input.TouchEventArgs e ) : void
PropertyDial_TouchMove ( object sender, System.Windows.Input.TouchEventArgs e ) : void
PropertyDial_TouchUp ( object sender, System.Windows.Input.TouchEventArgs e ) : void
SetAngle ( double angle ) : void

비공개 메소드들

메소드 설명
CAngle ( Point start, Point end ) : double

Calculate angle in radians between line defined with two points and x-axis.

OnValuePropertyChanged ( DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PropertyDial ( ) : System
UpdateAngle ( Point p ) : void

메소드 상세

OnApplyTemplate() 공개 메소드

public OnApplyTemplate ( ) : void
리턴 void

PropertyDial_MouseDown() 공개 메소드

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

PropertyDial_MouseMove() 공개 메소드

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

PropertyDial_MouseUp() 공개 메소드

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

PropertyDial_TouchDown() 공개 메소드

public PropertyDial_TouchDown ( object sender, System.Windows.Input.TouchEventArgs e ) : void
sender object
e System.Windows.Input.TouchEventArgs
리턴 void

PropertyDial_TouchMove() 공개 메소드

public PropertyDial_TouchMove ( object sender, System.Windows.Input.TouchEventArgs e ) : void
sender object
e System.Windows.Input.TouchEventArgs
리턴 void

PropertyDial_TouchUp() 공개 메소드

public PropertyDial_TouchUp ( object sender, System.Windows.Input.TouchEventArgs e ) : void
sender object
e System.Windows.Input.TouchEventArgs
리턴 void

SetAngle() 공개 메소드

public SetAngle ( double angle ) : void
angle double
리턴 void

프로퍼티 상세

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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