C# 클래스 SourceGrid.CustomScrollControl

상속: System.Windows.Forms.Panel
파일 보기 프로젝트 열기: zhuangyy/Motion

Private Properties

프로퍼티 타입 설명
HScroll_Change void
RecalcCustomScrollBars void
RecalcHScrollBar void
RecalcVScrollBar void
VScroll_Change void

공개 메소드들

메소드 설명
CustomScrollControl ( ) : System
CustomScrollLineDown ( ) : void

Scroll the page down one line

CustomScrollLineLeft ( ) : void

Scroll the page left one line

CustomScrollLineRight ( ) : void

Scroll the page right one line

CustomScrollLineUp ( ) : void

Scroll the page up one line

CustomScrollPageDown ( ) : void

Scroll the page down

CustomScrollPageLeft ( ) : void

Scroll the page left

CustomScrollPageRight ( ) : void

Scroll the page right

CustomScrollPageUp ( ) : void

Scroll the page up

CustomScrollWheel ( int rotationDelta ) : void
IsSuspended ( ) : bool
PerformLayout ( ) : void
PerformLayout ( Control affectedControl, string affectedProperty ) : void
ResumeLayout ( ) : void
ResumeLayout ( bool performLayout ) : void
SuspendLayout ( ) : void

보호된 메소드들

메소드 설명
CreateDockControls ( ) : void
GetScrollColumns ( int displayWidth ) : int

Calculate the number of columns to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of columns and the available area.

GetScrollRows ( int displayHeight ) : int

Calculate the number of rows to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of rows and the available area.

InvalidateScrollableArea ( ) : void

Invalidate the scrollable area

LoadScrollArea ( int verticalPage, int horizontalPage ) : void

Load the scrollable area that will affect the maximum scroll values.

OnHScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void

Fired when the scroll horizontal posizion change

OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void

OnLayout Method

OnVScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void

Fired when the scroll vertical posizion change

PrepareScrollBars ( bool showHScroll, bool showVScroll ) : void

Prepare the scrollbars with the specified dock option.

SetHScrollBarVisible ( bool value ) : void
SetVScrollBarVisible ( bool value ) : void

비공개 메소드들

메소드 설명
HScroll_Change ( object sender, EventArgs e ) : void
RecalcCustomScrollBars ( ) : void

Recalculate the scrollbars position and size.

RecalcHScrollBar ( int cols ) : void

recalculate the position of the horizontal scrollbar

RecalcVScrollBar ( int rows ) : void

Recalculate the position of the vertical scrollbar

VScroll_Change ( object sender, EventArgs e ) : void

메소드 상세

CreateDockControls() 보호된 메소드

protected CreateDockControls ( ) : void
리턴 void

CustomScrollControl() 공개 메소드

public CustomScrollControl ( ) : System
리턴 System

CustomScrollLineDown() 공개 메소드

Scroll the page down one line
public CustomScrollLineDown ( ) : void
리턴 void

CustomScrollLineLeft() 공개 메소드

Scroll the page left one line
public CustomScrollLineLeft ( ) : void
리턴 void

CustomScrollLineRight() 공개 메소드

Scroll the page right one line
public CustomScrollLineRight ( ) : void
리턴 void

CustomScrollLineUp() 공개 메소드

Scroll the page up one line
public CustomScrollLineUp ( ) : void
리턴 void

CustomScrollPageDown() 공개 메소드

Scroll the page down
public CustomScrollPageDown ( ) : void
리턴 void

CustomScrollPageLeft() 공개 메소드

Scroll the page left
public CustomScrollPageLeft ( ) : void
리턴 void

CustomScrollPageRight() 공개 메소드

Scroll the page right
public CustomScrollPageRight ( ) : void
리턴 void

CustomScrollPageUp() 공개 메소드

Scroll the page up
public CustomScrollPageUp ( ) : void
리턴 void

CustomScrollWheel() 공개 메소드

public CustomScrollWheel ( int rotationDelta ) : void
rotationDelta int
리턴 void

GetScrollColumns() 보호된 추상적인 메소드

Calculate the number of columns to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of columns and the available area.
protected abstract GetScrollColumns ( int displayWidth ) : int
displayWidth int
리턴 int

GetScrollRows() 보호된 추상적인 메소드

Calculate the number of rows to scroll. 0 to disable the scrollbar. The returned value is independent from the current scrolling position, must be a fixed value calculated based on the total number of rows and the available area.
protected abstract GetScrollRows ( int displayHeight ) : int
displayHeight int
리턴 int

InvalidateScrollableArea() 보호된 추상적인 메소드

Invalidate the scrollable area
protected abstract InvalidateScrollableArea ( ) : void
리턴 void

IsSuspended() 공개 메소드

public IsSuspended ( ) : bool
리턴 bool

LoadScrollArea() 보호된 메소드

Load the scrollable area that will affect the maximum scroll values.
protected LoadScrollArea ( int verticalPage, int horizontalPage ) : void
verticalPage int
horizontalPage int
리턴 void

OnHScrollPositionChanged() 보호된 메소드

Fired when the scroll horizontal posizion change
protected OnHScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void
e ScrollPositionChangedEventArgs
리턴 void

OnLayout() 보호된 메소드

OnLayout Method
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs
리턴 void

OnVScrollPositionChanged() 보호된 메소드

Fired when the scroll vertical posizion change
protected OnVScrollPositionChanged ( ScrollPositionChangedEventArgs e ) : void
e ScrollPositionChangedEventArgs
리턴 void

PerformLayout() 공개 메소드

public PerformLayout ( ) : void
리턴 void

PerformLayout() 공개 메소드

public PerformLayout ( Control affectedControl, string affectedProperty ) : void
affectedControl System.Windows.Forms.Control
affectedProperty string
리턴 void

PrepareScrollBars() 보호된 메소드

Prepare the scrollbars with the specified dock option.
protected PrepareScrollBars ( bool showHScroll, bool showVScroll ) : void
showHScroll bool
showVScroll bool
리턴 void

ResumeLayout() 공개 메소드

public ResumeLayout ( ) : void
리턴 void

ResumeLayout() 공개 메소드

public ResumeLayout ( bool performLayout ) : void
performLayout bool
리턴 void

SetHScrollBarVisible() 보호된 메소드

protected SetHScrollBarVisible ( bool value ) : void
value bool
리턴 void

SetVScrollBarVisible() 보호된 메소드

protected SetVScrollBarVisible ( bool value ) : void
value bool
리턴 void

SuspendLayout() 공개 메소드

public SuspendLayout ( ) : void
리턴 void