Class ScrollableFrame
This is a ScrollablePanel which inherits the IScrollableInfo. It handles all the scrolling related actions.
Inheritance
System.Object
ScrollableFrame
Assembly: Syncfusion.Spreadsheet.Windows.dll
public abstract class ScrollableFrame : Panel
Constructors
Declaration
protected ScrollableFrame(SfCellGrid grid)
Parameters
Properties
Declaration
public bool CanHorizontallyScroll { get; set; }
Property Value
Declaration
public bool CanVerticallyScroll { get; set; }
Property Value
Declaration
public double ExtentHeight { get; }
Property Value
Declaration
public double ExtentWidth { get; }
Property Value
Declaration
public double HorizontalOffset { get; }
Property Value
Declaration
public double HorizontalPadding { get; set; }
Property Value
Declaration
public bool HorizontalPixelScroll { get; set; }
Property Value
Declaration
public ScrollInfo HScrollBar { get; }
Property Value
Declaration
public ScrollAxisBase ScrollColumns { get; }
Property Value
Declaration
public ScrollAxisBase ScrollRows { get; }
Property Value
Declaration
public double VerticalOffset { get; }
Property Value
Declaration
public double VerticalPadding { get; set; }
Property Value
Declaration
public bool VerticalPixelScroll { get; set; }
Property Value
Declaration
public double ViewportHeight { get; }
Property Value
Declaration
public double ViewportWidth { get; }
Property Value
Declaration
public ScrollInfo VScrollBar { get; }
Property Value
Methods
Declaration
protected virtual Size ArrangeOverride(Size finalSize)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
finalSize |
|
Returns
Declaration
protected virtual ScrollAxisBase CreateScrollAxis(Orientation orientation, bool pixelScroll, IScrollBar scrollBar, ILineSizeHost lineSizes)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Orientation |
orientation |
|
System.Boolean |
pixelScroll |
|
IScrollBar |
scrollBar |
|
ILineSizeHost |
lineSizes |
|
Returns
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
public virtual void InvalidateMeasureInfo()
Declaration
Declaration
Declaration
Declaration
Declaration
protected virtual Size MeasureOverride(Size constraint)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
constraint |
|
Returns
Declaration
public virtual void MouseWheelDown()
Declaration
public void MouseWheelLeft()
Declaration
public void MouseWheelRight()
Declaration
public virtual void MouseWheelUp()
Declaration
protected virtual void OnContainerKeyDown(object sender, KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.Windows.Forms.KeyEventArgs |
e |
|
Declaration
protected virtual void OnScrollColumns_Changed(object sender, ScrollChangedEventArgs e)
Parameters
PageDown()
Declaration
PageLeft()
Declaration
Declaration
PageUp()
Declaration
Declaration
public void SetHorizontalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
Declaration
public void SetVerticalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
Declaration
protected virtual void UnWireEvents()
Declaration
public virtual void UpdateAxis(Size availableSize)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
availableSize |
|
Declaration
protected virtual void WireEvents()