C# Class SilverlightMappingToolBasic.Controls.ArrowControl

Inheritance: System.Windows.Controls.Control
Show file Open project: chris-tomich/Glyma Class Usage Examples

Public Properties

Property Type Description
ArrowPaddingProperty System.Windows.DependencyProperty
GlowColorProperty System.Windows.DependencyProperty
MouseOverColorProperty System.Windows.DependencyProperty
ParentNavigatorViewProperty System.Windows.DependencyProperty

Public Methods

Method Description
ArrowControl ( ) : System
OnApplyTemplate ( ) : void
UpdateArrow ( ) : void
UpdateArrow ( Point movingPoint ) : void
_fromSelectionRect_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_fromSelectionRect_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_toSelectionRect_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_toSelectionRect_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Private Methods

Method Description
ArrowControl_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
ArrowControl_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
CalculateArrowDirection ( Point fromNodePos, Point toNodePos ) : ArrowDirection
GoToState ( string stateName, bool useTransitions ) : void

Method Details

ArrowControl() public method

public ArrowControl ( ) : System
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

UpdateArrow() public method

public UpdateArrow ( ) : void
return void

UpdateArrow() public method

public UpdateArrow ( Point movingPoint ) : void
movingPoint Point
return void

_fromSelectionRect_MouseLeftButtonDown() public method

public _fromSelectionRect_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

_fromSelectionRect_MouseLeftButtonUp() public method

public _fromSelectionRect_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

_toSelectionRect_MouseLeftButtonDown() public method

public _toSelectionRect_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

_toSelectionRect_MouseLeftButtonUp() public method

public _toSelectionRect_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

Property Details

ArrowPaddingProperty public static property

The distance between the arrow head and the node or the line end and the node
public static DependencyProperty,System.Windows ArrowPaddingProperty
return System.Windows.DependencyProperty

GlowColorProperty public static property

The selection color/glow around the arrow and color of the arrow/line
public static DependencyProperty,System.Windows GlowColorProperty
return System.Windows.DependencyProperty

MouseOverColorProperty public static property

public static DependencyProperty,System.Windows MouseOverColorProperty
return System.Windows.DependencyProperty

ParentNavigatorViewProperty public static property

public static DependencyProperty,System.Windows ParentNavigatorViewProperty
return System.Windows.DependencyProperty