C# Класс SourceGrid.CustomScrollControl

Наследование: System.Windows.Forms.Panel
Показать файл Открыть проект

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