C# 클래스 ICSharpCode.WpfDesign.Designer.Controls.MarginHandle

Adorner that displays the margin of a control in a Grid.
상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: icsharpcode/WpfDesigner 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HandleLengthOffset double
HandleLengthProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
DecideVisiblity ( double handleLength ) : void

Decides the visibllity of Handle or stub,whichever is set and hides the line-endarrow if the control is near the Grid or goes out of it.

MarginHandle ( DesignItem adornedControlItem, AdornerPanel adornerPanel, HandleOrientation orientation ) : System
OnApplyTemplate ( ) : void
OnHandleLengthChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Decides the visiblity of handle/stub when HandleLength changes

보호된 메소드들

메소드 설명
OnMouseEnter ( System e ) : void
OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void

비공개 메소드들

메소드 설명
BindAndPlaceHandle ( ) : void

Binds the HandleLength to the margin and place the handles.

MarginHandle ( ) : System
OnPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

메소드 상세

DecideVisiblity() 공개 메소드

Decides the visibllity of Handle or stub,whichever is set and hides the line-endarrow if the control is near the Grid or goes out of it.
public DecideVisiblity ( double handleLength ) : void
handleLength double
리턴 void

MarginHandle() 공개 메소드

public MarginHandle ( DesignItem adornedControlItem, AdornerPanel adornerPanel, HandleOrientation orientation ) : System
adornedControlItem DesignItem
adornerPanel AdornerPanel
orientation HandleOrientation
리턴 System

OnApplyTemplate() 공개 메소드

public OnApplyTemplate ( ) : void
리턴 void

OnHandleLengthChanged() 공개 정적인 메소드

Decides the visiblity of handle/stub when HandleLength changes
public static OnHandleLengthChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnMouseEnter() 보호된 메소드

protected OnMouseEnter ( System e ) : void
e System
리턴 void

OnMouseLeave() 보호된 메소드

protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
리턴 void

프로퍼티 상세

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

Places the Handle with a certain offset so the Handle does not interfere with selection outline.
public static double HandleLengthOffset
리턴 double

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

Dependency property for HandleLength.
public static DependencyProperty,System.Windows HandleLengthProperty
리턴 System.Windows.DependencyProperty