C# Class LayoutFarm.CustomWidgets.ScrollBar

Inheritance: LayoutFarm.UI.UIBox
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Protected Properties

Property Type Description
minmax_boxHeight int

Public Methods

Method Description
GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
ReEvaluateScrollBar ( ) : void
ScrollBar ( int width, int height ) : System
SetCustomScrollBarEvaluator ( ScrollBarEvaluator scrollBarEvaluator ) : void
SetupScrollBar ( ScrollBarCreationParameters creationParameters ) : void
StepSmallToMax ( ) : void
StepSmallToMin ( ) : void
Walk ( UIVisitor visitor ) : void

Protected Methods

Method Description
OnMouseWheel ( UIMouseEventArgs e ) : void

Private Methods

Method Description
CalculateThumbPosition ( ) : int
ChildNotifyMouseWheel ( UIMouseEventArgs e ) : void
CreateHScrollbarContent ( RootGraphic rootgfx ) : void
CreateVScrollbarContent ( RootGraphic rootgfx ) : void
EvaluateHorizontalScrollBarProperties ( ) : void
EvaluateVerticalScrollBarProperties ( ) : void
SetupHorizontalScrollButtonProperties ( RenderElement container ) : void
SetupMaxButtonProperties ( RenderElement container ) : void
SetupMinButtonProperties ( RenderElement container ) : void
SetupVerticalScrollButtonProperties ( RenderElement container ) : void
UpdateScrollButtonPosition ( ) : void

Method Details

GetPrimaryRenderElement() public method

public GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
rootgfx RootGraphic
return RenderElement

OnMouseWheel() protected method

protected OnMouseWheel ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

ReEvaluateScrollBar() public method

public ReEvaluateScrollBar ( ) : void
return void

ScrollBar() public method

public ScrollBar ( int width, int height ) : System
width int
height int
return System

SetCustomScrollBarEvaluator() public method

public SetCustomScrollBarEvaluator ( ScrollBarEvaluator scrollBarEvaluator ) : void
scrollBarEvaluator ScrollBarEvaluator
return void

SetupScrollBar() public method

public SetupScrollBar ( ScrollBarCreationParameters creationParameters ) : void
creationParameters ScrollBarCreationParameters
return void

StepSmallToMax() public method

public StepSmallToMax ( ) : void
return void

StepSmallToMin() public method

public StepSmallToMin ( ) : void
return void

Walk() public method

public Walk ( UIVisitor visitor ) : void
visitor LayoutFarm.UI.UIVisitor
return void

Property Details

minmax_boxHeight protected_oe property

protected int minmax_boxHeight
return int