C# Class DevZest.Windows.DragHandlerBase

Datei anzeigen Open project: TNOCS/csTouch

Private Properties

Property Type Description
BeginDrag void
DragDelta void
EndDrag void
GetMousePosition Point
GetMousePosition Point
OnDragDetectTimerTick void
OnLostMouseCapture void
OnMouseLeftButtonUp void
OnMouseMove void

Protected Methods

Method Description
DragDetect ( UIElement uiElement, System.Windows.Input.MouseEventArgs e ) : void
DragDetect ( UIElement uiElement, Point pt ) : void
DragHandlerBase ( ) : System
OnBeginDrag ( ) : void
OnDragDelta ( ) : void
OnEndDrag ( UIElement dragElement, bool abort ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void

Private Methods

Method Description
BeginDrag ( ) : void
DragDelta ( ) : void
EndDrag ( bool abort ) : void
GetMousePosition ( System.Windows.Input.MouseEventArgs e ) : Point
GetMousePosition ( Point pt ) : Point
OnDragDetectTimerTick ( object sender, EventArgs e ) : void
OnLostMouseCapture ( object sender, MouseEventArgs e ) : void
OnMouseLeftButtonUp ( object sender, MouseButtonEventArgs e ) : void
OnMouseMove ( object sender, MouseEventArgs e ) : void

Method Details

DragDetect() protected method

protected DragDetect ( UIElement uiElement, System.Windows.Input.MouseEventArgs e ) : void
uiElement System.Windows.UIElement
e System.Windows.Input.MouseEventArgs
return void

DragDetect() protected method

protected DragDetect ( UIElement uiElement, Point pt ) : void
uiElement System.Windows.UIElement
pt Point
return void

DragHandlerBase() protected method

protected DragHandlerBase ( ) : System
return System

OnBeginDrag() protected abstract method

protected abstract OnBeginDrag ( ) : void
return void

OnDragDelta() protected abstract method

protected abstract OnDragDelta ( ) : void
return void

OnEndDrag() protected abstract method

protected abstract OnEndDrag ( UIElement dragElement, bool abort ) : void
dragElement System.Windows.UIElement
abort bool
return void

OnKeyDown() protected method

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
return void