C# 클래스 ComponentFactory.Krypton.Toolkit.ViewDrawScrollBar

View element that draws a scrollbar.
상속: ViewLeaf
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
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