C# Class ICSharpCode.WpfDesign.Designer.Services.CreateComponentMouseGesture

Inheritance: ICSharpCode.WpfDesign.Designer.Services.ClickOrDragMouseGesture
Show file Open project: icsharpcode/WpfDesigner

Public Methods

Method Description
CreateComponentMouseGesture ( DesignItem clickedOn, DesignItem createdItem, ChangeGroup changeGroup ) : System

Protected Methods

Method Description
OnDragStarted ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnStopped ( ) : void

Private Methods

Method Description
GetStartToEndRect ( System.Windows.Input.MouseEventArgs e ) : Rect

Method Details

CreateComponentMouseGesture() public method

public CreateComponentMouseGesture ( DesignItem clickedOn, DesignItem createdItem, ChangeGroup changeGroup ) : System
clickedOn DesignItem
createdItem DesignItem
changeGroup ChangeGroup
return System

OnDragStarted() protected method

protected OnDragStarted ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

OnStopped() protected method

protected OnStopped ( ) : void
return void