C# Класс ComponentFactory.Krypton.Toolkit.ViewDrawScrollBar

View element that draws a scrollbar.
Наследование: ViewLeaf
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

SetScrollValues ( int min, int max, int smallChange, int largeChange, int offset ) : void

Update the scrollbar with the latest scrolling values.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawScrollBar ( bool vertical ) : System

Initialize a new instance of the ViewDrawScrollBar class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

Приватные методы

Метод Описание
CreateScrollBar ( Control parent ) : void
OnScrollBarChange ( object sender, ScrollEventArgs e ) : void
RemoveScrollBar ( ) : void

Описание методов

Dispose() защищенный Метод

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
Результат void

GetPreferredSize() публичный Метод

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
Результат System.Drawing.Size

Layout() публичный Метод

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Результат void

SetScrollValues() публичный Метод

Update the scrollbar with the latest scrolling values.
public SetScrollValues ( int min, int max, int smallChange, int largeChange, int offset ) : void
min int Scroll minimum value.
max int Scroll maximum value.
smallChange int Size of a small change.
largeChange int Size of a large change.
offset int Current scrolling offset.
Результат void

ToString() публичный Метод

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

ViewDrawScrollBar() публичный Метод

Initialize a new instance of the ViewDrawScrollBar class.
public ViewDrawScrollBar ( bool vertical ) : System
vertical bool Is this a vertical scrollbar.
Результат System