C# Class LitDev.LDScrollBars

Mostra file Open project: litdev1/LitDev

Public Methods

Method Description
Add ( Primitive width, Primitive height ) : void

Add Scroll Bars to the GraphicsWindow. The input width and height are those that can be scrolled to. A value of 0 prevents a scrollbar appearing.

Modify ( Primitive action ) : void

Move scrollbars.

Private Methods

Method Description
_KeyDownEvent ( object sender, System.Windows.Input.KeyEventArgs e ) : void
_KeyUpEvent ( object sender, System.Windows.Input.KeyEventArgs e ) : void
_MouseDownEvent ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseMoveEvent ( object sender, System.Windows.Input.MouseEventArgs e ) : void
_MouseUpEvent ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseWheelEvent ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
_ScrollChangedEvent ( Object sender, System.Windows.Controls.ScrollChangedEventArgs e ) : void
_TextInputEvent ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
_WindowSizeChanged ( Object sender, System.Windows.SizeChangedEventArgs e ) : void
modifyScrollBars ( string action ) : void
propertyScrollBars ( string action, Primitive value ) : Primitive
setScrollBars ( double width, double height ) : void

Method Details

Add() public static method

Add Scroll Bars to the GraphicsWindow. The input width and height are those that can be scrolled to. A value of 0 prevents a scrollbar appearing.
public static Add ( Primitive width, Primitive height ) : void
width Primitive The width of the scrollable region.
height Primitive The height of the scrollable region.
return void

Modify() public static method

Move scrollbars.
public static Modify ( Primitive action ) : void
action Primitive Allowed actions include the following. /// "PageDown", "PageUp", "PageLeft" and "PageRight" /// "ScrollToTop", "ScrollToBottom", "ScrollToLeftEnd" and "ScrollToRightEnd" /// "ScrollToHome", "ScrollToEnd" ///
return void