Skip to content

Crow.ScrollingObject

Jean-Philippe Bruyère edited this page Jan 30, 2018 · 3 revisions

generic class to build scrolling control in both directions

namespace: Crow

Inheritance Hierarchy

Syntax

public class ScrollingObject : GraphicObject

Constructors

prototype description
ScrollingObject (Interface iface) __

Properties

name description
MaxScrollX Horizontal Scrolling maximum value
MaxScrollY Vertical Scrolling maximum value
MouseWheelSpeed Mouse Wheel Scrolling multiplier
ScrollX Horizontal Scrolling Position
ScrollY Vertical Scrolling Position

Methods

prototype description
void onKeyDown(object sender, KeyboardKeyEventArgs e) Process scrolling with arrow keys, home and end keys.
void onMouseWheel(object sender, MouseWheelEventArgs e) Process scrolling vertically, or if shift is down, vertically

Events

name description
Clone this wiki locally