ScrollableControl Class

Definition

Line 31 of System.Windows/ScrollableControl.cm

Inheritance

Constructors & Destructor

public ScrollableControl(Control* child_, const Point& location, const Size& size, Dock dock, Anchors anchors)
public ScrollableControl(ScrollableControlCreateParams& createParams)

Member Functions

private void ChildSizeOrContentSizeChanged(ControlEventArgs& args)
internal override nothrow Control* GetFirstEnabledTabStopControl() const
internal override nothrow Control* GetLastEnabledTabStopControl() const
protected override nothrow bool IsDecoratorControl() const
private nothrow Rect MakeUpdateRect(int xAmount, int yAmount)
protected override void OnChildContentChanged(ControlEventArgs& args)
protected override void OnChildContentLocationChanged(ControlEventArgs& args)
protected override void OnChildContentSizeChanged(ControlEventArgs& args)
protected override void OnChildGotFocus(ControlEventArgs& args)
protected override void OnChildLostFocus(ControlEventArgs& args)
protected override void OnChildSizeChanged(ControlEventArgs& args)
protected override void OnHScroll(ScrollEventArgs& args)
protected override void OnLocationChanged()
protected override void OnMouseWheel(MouseWheelEventArgs& args)
protected override void OnSizeChanged(uint windowState)
protected override void OnVScroll(ScrollEventArgs& args)
public override void ScrollLineDown()
public override void ScrollLineUp()
protected override void TranslateChildGraphics(Graphics& graphics)
protected override void TranslateContentLocation(Point& location)
protected override void TranslateMousePos(Point& location)

Member Variables

private Control* child
private Container container
private int hmax
private int hmin
private bool horizontalScrollBarShown
private int horizontalScrollUnit
private uint hpage
private int hpos
private Control* scrolledChild
private bool verticalScrollBarShown
private int verticalScrollUnit
private int vmax
private int vmin
private uint vpage
private int vpos

Constructor& Destructor Details

ScrollableControl Constructor

public ScrollableControl(Control* child_, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 33 of System.Windows/ScrollableControl.cm


ScrollableControl Constructor

public ScrollableControl(ScrollableControlCreateParams& createParams)

Definition
Line 41 of System.Windows/ScrollableControl.cm


Member Function Details

ChildSizeOrContentSizeChanged Member Function

private void ChildSizeOrContentSizeChanged(ControlEventArgs& args)

Definition
Line 88 of System.Windows/ScrollableControl.cm


GetFirstEnabledTabStopControl Member Function

internal override nothrow Control* GetFirstEnabledTabStopControl()

Definition
Line 364 of System.Windows/ScrollableControl.cm


GetLastEnabledTabStopControl Member Function

internal override nothrow Control* GetLastEnabledTabStopControl()

Definition
Line 368 of System.Windows/ScrollableControl.cm


IsDecoratorControl Member Function

protected override nothrow bool IsDecoratorControl()

Definition
Line 48 of System.Windows/ScrollableControl.cm


MakeUpdateRect Member Function

private nothrow Rect MakeUpdateRect(int xAmount, int yAmount)

Definition
Line 372 of System.Windows/ScrollableControl.cm


OnChildContentChanged Member Function

protected override void OnChildContentChanged(ControlEventArgs& args)

Definition
Line 69 of System.Windows/ScrollableControl.cm


OnChildContentLocationChanged Member Function

protected override void OnChildContentLocationChanged(ControlEventArgs& args)

Definition
Line 75 of System.Windows/ScrollableControl.cm


OnChildContentSizeChanged Member Function

protected override void OnChildContentSizeChanged(ControlEventArgs& args)

Definition
Line 137 of System.Windows/ScrollableControl.cm


OnChildGotFocus Member Function

protected override void OnChildGotFocus(ControlEventArgs& args)

Definition
Line 142 of System.Windows/ScrollableControl.cm


OnChildLostFocus Member Function

protected override void OnChildLostFocus(ControlEventArgs& args)

Definition
Line 151 of System.Windows/ScrollableControl.cm


OnChildSizeChanged Member Function

protected override void OnChildSizeChanged(ControlEventArgs& args)

Definition
Line 64 of System.Windows/ScrollableControl.cm


OnHScroll Member Function

protected override void OnHScroll(ScrollEventArgs& args)

Definition
Line 160 of System.Windows/ScrollableControl.cm


OnLocationChanged Member Function

protected override void OnLocationChanged()

Definition
Line 52 of System.Windows/ScrollableControl.cm


OnMouseWheel Member Function

protected override void OnMouseWheel(MouseWheelEventArgs& args)

Definition
Line 312 of System.Windows/ScrollableControl.cm


OnSizeChanged Member Function

protected override void OnSizeChanged(uint windowState)

Definition
Line 58 of System.Windows/ScrollableControl.cm


OnVScroll Member Function

protected override void OnVScroll(ScrollEventArgs& args)

Definition
Line 254 of System.Windows/ScrollableControl.cm


ScrollLineDown Member Function

public override void ScrollLineDown()

Definition
Line 208 of System.Windows/ScrollableControl.cm


ScrollLineUp Member Function

public override void ScrollLineUp()

Definition
Line 231 of System.Windows/ScrollableControl.cm


TranslateChildGraphics Member Function

protected override void TranslateChildGraphics(Graphics& graphics)

Definition
Line 341 of System.Windows/ScrollableControl.cm


TranslateContentLocation Member Function

protected override void TranslateContentLocation(Point& location)

Definition
Line 357 of System.Windows/ScrollableControl.cm


TranslateMousePos Member Function

protected override void TranslateMousePos(Point& location)

Definition
Line 350 of System.Windows/ScrollableControl.cm