Class ScrollableContentViewer
Inheritance
System.Object
ScrollableContentViewer
Implements
System.IDisposable
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class ScrollableContentViewer : ContentControl, IDisposable
Constructors
ScrollableContentViewer()
Declaration
public ScrollableContentViewer()
Fields
ComputedHorizontalScrollBarVisibilityProperty
Declaration
public static readonly DependencyProperty ComputedHorizontalScrollBarVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
ComputedVerticalScrollBarVisibilityProperty
Declaration
public static readonly DependencyProperty ComputedVerticalScrollBarVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
ExtentHeightProperty
Declaration
public static readonly DependencyProperty ExtentHeightProperty
Field Value
Type |
System.Windows.DependencyProperty |
ExtentWidthProperty
Declaration
public static readonly DependencyProperty ExtentWidthProperty
Field Value
Type |
System.Windows.DependencyProperty |
HorizontalOffsetProperty
Declaration
public static readonly DependencyProperty HorizontalOffsetProperty
Field Value
Type |
System.Windows.DependencyProperty |
HorizontalScrollBarVisibilityProperty
Declaration
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
OwnerProperty
Declaration
public static readonly DependencyProperty OwnerProperty
Field Value
Type |
System.Windows.DependencyProperty |
ScrollableHeightProperty
Declaration
public static readonly DependencyProperty ScrollableHeightProperty
Field Value
Type |
System.Windows.DependencyProperty |
ScrollableWidthProperty
Declaration
public static readonly DependencyProperty ScrollableWidthProperty
Field Value
Type |
System.Windows.DependencyProperty |
VerticalOffsetProperty
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
Type |
System.Windows.DependencyProperty |
VerticalScrollBarVisibilityProperty
Declaration
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
ViewportHeightProperty
Declaration
public static readonly DependencyProperty ViewportHeightProperty
Field Value
Type |
System.Windows.DependencyProperty |
ViewportWidthProperty
Declaration
public static readonly DependencyProperty ViewportWidthProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
ComputedHorizontalScrollBarVisibility
Declaration
public Visibility ComputedHorizontalScrollBarVisibility { get; }
Property Value
Type |
System.Windows.Visibility |
ComputedVerticalScrollBarVisibility
Declaration
public Visibility ComputedVerticalScrollBarVisibility { get; }
Property Value
Type |
System.Windows.Visibility |
ExtentHeight
Declaration
public double ExtentHeight { get; }
Property Value
ExtentWidth
Declaration
public double ExtentWidth { get; }
Property Value
HorizontalOffset
Declaration
public double HorizontalOffset { get; }
Property Value
HorizontalScrollBarVisibility
Declaration
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
Type |
System.Windows.Controls.ScrollBarVisibility |
LastMove
Declaration
public DateTime LastMove { get; }
Property Value
Owner
Declaration
public DependencyObject Owner { get; set; }
Property Value
Type |
System.Windows.DependencyObject |
ScrollableHeight
Declaration
public double ScrollableHeight { get; }
Property Value
ScrollableWidth
Declaration
public double ScrollableWidth { get; }
Property Value
TimeOut
Declaration
public TimeSpan TimeOut { get; }
Property Value
VerticalOffset
Declaration
public double VerticalOffset { get; }
Property Value
VerticalScrollBarVisibility
Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
Type |
System.Windows.Controls.ScrollBarVisibility |
ViewportHeight
Declaration
public double ViewportHeight { get; }
Property Value
ViewportWidth
Declaration
public double ViewportWidth { get; }
Property Value
Methods
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
Type |
Name |
Description |
System.Boolean |
isDisposing |
|
GetHorizontalScrollBarVisibility(DependencyObject)
Declaration
public static ScrollBarVisibility GetHorizontalScrollBarVisibility(DependencyObject element)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
element |
|
Returns
Type |
System.Windows.Controls.ScrollBarVisibility |
GetVerticalScrollBarVisibility(DependencyObject)
Declaration
public static ScrollBarVisibility GetVerticalScrollBarVisibility(DependencyObject element)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
element |
|
Returns
Type |
System.Windows.Controls.ScrollBarVisibility |
InvalidateScrollInfo()
Declaration
public void InvalidateScrollInfo()
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
availableSize |
|
Returns
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
|
OnPreviewMouseDown(MouseButtonEventArgs)
Declaration
protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
OnPreviewMouseMove(MouseEventArgs)
Declaration
protected override void OnPreviewMouseMove(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseEventArgs |
e |
|
OnPreviewMouseUp(MouseButtonEventArgs)
Declaration
protected override void OnPreviewMouseUp(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
OnPreviewMouseWheel(MouseWheelEventArgs)
Declaration
protected override void OnPreviewMouseWheel(MouseWheelEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseWheelEventArgs |
e |
|
ScrollToHorizontalOffset(Double)
Declaration
public void ScrollToHorizontalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
ScrollToVerticalOffset(Double)
Declaration
public void ScrollToVerticalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
SetHorizontalScrollBarVisibility(DependencyObject, ScrollBarVisibility)
Declaration
public static void SetHorizontalScrollBarVisibility(DependencyObject element, ScrollBarVisibility horizontalScrollBarVisibility)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
element |
|
System.Windows.Controls.ScrollBarVisibility |
horizontalScrollBarVisibility |
|
SetVerticalScrollBarVisibility(DependencyObject, ScrollBarVisibility)
Declaration
public static void SetVerticalScrollBarVisibility(DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
element |
|
System.Windows.Controls.ScrollBarVisibility |
verticalScrollBarVisibility |
|
UnWireEvents()
Declaration
public void UnWireEvents()
WireEvents()
Dispatch Timer is a DispatcherTimer Method, Checks for User Actions to hide the Scrollbars if the Control ain't active
Declaration
Implements
System.IDisposable