C# Class LayoutFarm.InternalUI.ScrollBar

Inheritance: EaseBox
显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Protected Properties

Property Type Description
minmax_boxHeight int

Public Methods

Method Description
GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
ScrollBar ( int width, int height ) : System
SetCustomScrollBarEvaluator ( ScrollBarEvaluator scrollBarEvaluator ) : void
SetupScrollBar ( ScrollBarCreationParameters creationParameters ) : void
StepSmallToMax ( ) : void
StepSmallToMin ( ) : 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
ReEvaluateScrollBar ( ) : 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

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

Property Details

minmax_boxHeight protected_oe property

protected int minmax_boxHeight
return int