C# Class System.Windows.Forms.ScrollableControl

Show file Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Private Properties

Property Type Description
AdjustFormScrollbars void
CalculateCanvasSize void
CreateDockPadding void
GetScrollState bool
HandleScrollEvent void
LocationChangedHandler void
OnLayout void
OnRightToLeftChanged void
OnVisibleChanged void
ParentChangedHandler void
Parent_PaddingChanged void
Parent_SizeChanged void
Recalculate void
Recalculate void
ScrollWindow void
ShouldSerializeAutoScrollMargin bool
ShouldSerializeAutoScrollMinSize bool
VisibleChangedHandler void

Public Methods

Method Description
ScrollControlIntoView ( Control activeControl ) : void
ScrollableControl ( ) : System.Drawing
SetAutoScrollMargin ( int x, int y ) : void

Protected Methods

Method Description
CreateHandle ( ) : void
OnPaddingChanged ( EventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnScroll ( ScrollEventArgs se ) : void
ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
ScrollToControl ( Control activeControl ) : Point
SetDisplayRectLocation ( int x, int y ) : void
SetScrollState ( int bit, bool value ) : void

Private Methods

Method Description
AdjustFormScrollbars ( bool displayScrollbars ) : void
CalculateCanvasSize ( bool canOverride ) : void
CreateDockPadding ( ) : void
GetScrollState ( int bit ) : bool
HandleScrollEvent ( object sender, ScrollEventArgs args ) : void
LocationChangedHandler ( object sender, EventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
OnRightToLeftChanged ( EventArgs e ) : void
OnVisibleChanged ( EventArgs e ) : void
ParentChangedHandler ( object sender, EventArgs e ) : void
Parent_PaddingChanged ( object sender, EventArgs e ) : void
Parent_SizeChanged ( object sender, EventArgs e ) : void
Recalculate ( bool doLayout ) : void
Recalculate ( object sender, EventArgs e ) : void
ScrollWindow ( int XOffset, int YOffset ) : void
ShouldSerializeAutoScrollMargin ( ) : bool
ShouldSerializeAutoScrollMinSize ( ) : bool
VisibleChangedHandler ( object sender, EventArgs e ) : void

Method Details

CreateHandle() protected method

protected CreateHandle ( ) : void
return void

OnPaddingChanged() protected method

protected OnPaddingChanged ( EventArgs e ) : void
e EventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnScroll() protected method

protected OnScroll ( ScrollEventArgs se ) : void
se ScrollEventArgs
return void

ScaleControl() protected method

protected ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
factor System.Drawing.SizeF
specified BoundsSpecified
return void

ScrollControlIntoView() public method

public ScrollControlIntoView ( Control activeControl ) : void
activeControl Control
return void

ScrollToControl() protected method

protected ScrollToControl ( Control activeControl ) : Point
activeControl Control
return System.Drawing.Point

ScrollableControl() public method

public ScrollableControl ( ) : System.Drawing
return System.Drawing

SetAutoScrollMargin() public method

public SetAutoScrollMargin ( int x, int y ) : void
x int
y int
return void

SetDisplayRectLocation() protected method

protected SetDisplayRectLocation ( int x, int y ) : void
x int
y int
return void

SetScrollState() protected method

protected SetScrollState ( int bit, bool value ) : void
bit int
value bool
return void