Class ScrollableFrame
This is a ScrollablePanel which inherits the IScrollableInfo. It handles all the scrolling related actions.
Inheritance
System.Object
ScrollableFrame
Implements
System.Windows.Controls.Primitives.IScrollInfo
System.IDisposable
Assembly: Syncfusion.SfCellGrid.WPF.dll
public abstract class ScrollableFrame : Panel, IScrollableInfo, IScrollInfo, IDisposable
Constructors
Declaration
protected ScrollableFrame()
Fields
The horizontal offset property
Declaration
public static readonly DependencyProperty HorizontalScrollBarOffsetProperty
Field Value
Type |
System.Windows.DependencyProperty |
The horizontal scrollbar visibility property
Declaration
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
The vertical offset property
Declaration
public static readonly DependencyProperty VerticalScrollBarOffsetProperty
Field Value
Type |
System.Windows.DependencyProperty |
The vertical scrollbar visibility property
Declaration
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
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
Gets or sets the horizontal offset.
Declaration
public double HorizontalScrollBarOffset { get; set; }
Property Value
Type |
Description |
System.Double |
The horizontal offset.
|
Gets or sets the horizontal scrollbar visibilty.
Declaration
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
Type |
Description |
System.Windows.Controls.ScrollBarVisibility |
The vertical offset.
|
Declaration
public ScrollInfo HScrollBar { get; }
Property Value
Declaration
public ScrollAxisBase ScrollColumns { get; }
Property Value
Declaration
public ScrollViewer ScrollOwner { get; set; }
Property Value
Type |
System.Windows.Controls.ScrollViewer |
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
Gets or sets the vertical offset.
Declaration
public double VerticalScrollBarOffset { get; set; }
Property Value
Type |
Description |
System.Double |
The vertical offset.
|
Gets or sets the vertical scrollbar visibilty.
Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
Type |
Description |
System.Windows.Controls.ScrollBarVisibility |
The vertical offset.
|
Declaration
public double ViewportHeight { get; }
Property Value
Declaration
public double ViewportWidth { get; }
Property Value
Declaration
public ScrollInfo VScrollBar { get; }
Property Value
Methods
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
finalSize |
|
Returns
Declaration
protected virtual ScrollAxisBase CreateScrollAxis(Orientation orientation, bool pixelScroll, IScrollBar scrollBar, ILineSizeHost lineSizes)
Parameters
Type |
Name |
Description |
System.Windows.Controls.Orientation |
orientation |
|
System.Boolean |
pixelScroll |
|
IScrollBar |
scrollBar |
|
ILineSizeHost |
lineSizes |
|
Returns
Declaration
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
public virtual void InvalidateMeasureInfo()
Declaration
Declaration
Declaration
Declaration
Declaration
public Rect MakeVisible(Visual visual, Rect rectangle)
Parameters
Type |
Name |
Description |
System.Windows.Media.Visual |
visual |
|
System.Windows.Rect |
rectangle |
|
Returns
Declaration
public Rect MakeVisible(UIElement visual, Rect rectangle)
Parameters
Type |
Name |
Description |
System.Windows.UIElement |
visual |
|
System.Windows.Rect |
rectangle |
|
Returns
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type |
Name |
Description |
System.Windows.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.Input.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.Windows.Size |
availableSize |
|
Declaration
protected virtual void WireEvents()
Implements
System.Windows.Controls.Primitives.IScrollInfo
System.IDisposable