C# 클래스 SourceGrid.Controllers.SelectionDrag

Controller to support drag operations. To enable drag and drop operations on a grid you can use this code: dataGrid.GridController.AddController(SourceGrid.Controllers.SelectionDrag.Copy); dataGrid.GridController.AddController(SourceGrid.Controllers.SelectionDrop.Default);
상속: GridBase
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 프로퍼티들

프로퍼티 타입 설명
Copy SelectionDrag
Cut SelectionDrag

공개 메소드들

메소드 설명
SelectionDrag ( ) : System
SelectionDrag ( CutMode cutMode ) : System

보호된 메소드들

메소드 설명
OnAttach ( GridVirtual grid ) : void
OnDetach ( GridVirtual grid ) : void
grid_MouseDown ( GridVirtual sender, MouseEventArgs e ) : void
grid_MouseLeave ( GridVirtual sender, EventArgs e ) : void
grid_MouseMove ( GridVirtual sender, MouseEventArgs e ) : void

비공개 메소드들

메소드 설명
grid_GiveFeedback ( GridVirtual sender, System.Windows.Forms.GiveFeedbackEventArgs e ) : void

메소드 상세

OnAttach() 보호된 메소드

protected OnAttach ( GridVirtual grid ) : void
grid GridVirtual
리턴 void

OnDetach() 보호된 메소드

protected OnDetach ( GridVirtual grid ) : void
grid GridVirtual
리턴 void

SelectionDrag() 공개 메소드

public SelectionDrag ( ) : System
리턴 System

SelectionDrag() 공개 메소드

public SelectionDrag ( CutMode cutMode ) : System
cutMode CutMode
리턴 System

grid_MouseDown() 보호된 메소드

protected grid_MouseDown ( GridVirtual sender, MouseEventArgs e ) : void
sender GridVirtual
e System.Windows.Forms.MouseEventArgs
리턴 void

grid_MouseLeave() 보호된 메소드

protected grid_MouseLeave ( GridVirtual sender, EventArgs e ) : void
sender GridVirtual
e System.EventArgs
리턴 void

grid_MouseMove() 보호된 메소드

protected grid_MouseMove ( GridVirtual sender, MouseEventArgs e ) : void
sender GridVirtual
e System.Windows.Forms.MouseEventArgs
리턴 void

프로퍼티 상세

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

Create a selection drag controller for copy operations. (CutMode.None)
public static SelectionDrag,SourceGrid.Controllers Copy
리턴 SelectionDrag

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

Create a selection drag controller for cut operations. (CutMode.CutOnPaste)
public static SelectionDrag,SourceGrid.Controllers Cut
리턴 SelectionDrag