[]
        
(Showing Draft Content)

C1.Android.Core.C1ScrollViewer

C1ScrollViewer Class

Represents a scrollable area that can contain other visible elements.

Inheritance
C1ScrollViewer
Implements
Namespace: C1.Android.Core
Assembly: C1.Android.Core.dll
Syntax
public class C1ScrollViewer : ViewGroup, IDependencyObject

Constructors

Name Description
C1ScrollViewer(Context)

Initializes a new instance of the C1ScrollViewer class.

Fields

Name Description
ContentProperty
HorizontalScrollBarVisibilityProperty
LeftHeaderProperty
MaxZoomFactorProperty
MinZoomFactorProperty
RefreshEnabledProperty
TopHeaderProperty
TopLeftHeaderProperty
VerticalScrollBarVisibilityProperty
ZoomModeProperty

Properties

Name Description
ClipChildren
Content

Gets or sets the content of the top, left header.

ExtentHeight

Gets the vertical size of all the scrollable content in the C1ScrollViewer.

ExtentWidth

Gets the horizontal size of all the scrollable content in the C1ScrollViewer.

HorizontalOffset

Gets the distance the content has been scrolled horizontally.

HorizontalScrollBarVisibility

Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.

LeftHeader

Gets or sets the content of the left header.

MaxZoomFactor

Gets or sets a value that indicates the maximum permitted run-time value of ZoomFactor.

MinZoomFactor

Gets or sets a value that indicates the minimum permitted run-time value of ZoomFactor.

RefreshEnabled

Gets or sets a value indicating whether refreshing is enabled.

Refreshing

Gets a value indicating whether this C1ScrollViewer is refreshing.

ScrollableHeight

Gets a value that represents the vertical size of the area that can be scrolled; the difference between the height of the extent and the height of the viewport.

ScrollableWidth

Gets a value that represents the horizontal size of the area that can be scrolled; the difference between the width of the extent and the width of the viewport.

TopHeader

Gets or sets the content of the top header.

TopLeftHeader

Gets or sets the content of the top, left header.

VerticalOffset

Gets the distance the content has been scrolled vertically.

VerticalScrollBarVisibility

Gets or sets a value that indicates whether a vertical ScrollBar should be displayed.

ViewportHeight

Gets the vertical size of the viewable content.

ViewportWidth

Gets the horizontal size of the viewable content.

ZoomFactor

Gets a value that indicates the current zoom factor engaged for content scaling.

ZoomMode

Gets or sets a value that indicates whether zoom behavior in the ScrollViewer content is enabled.

Methods

Name Description
BeginRefreshing()

Begins refreshing.

ChangeView(Nullable<double>, Nullable<double>, Nullable<double>, bool)

Changes the view.

DispatchTouchEvent(MotionEvent)
Dispose(bool)
EndRefreshing()

Ends refreshing.

OnAttachedToWindow()
OnDetachedFromWindow()
OnLayout(bool, int, int, int, int)
OnMeasure(int, int)
OnRefreshAsync()

Called when the viewer is pulled to be refreshed.

OnSizeChanged(C1ScrollViewerSizeChangedEventArgs)

Raises the SizeChanged event.

OnViewChanged(C1ScrollViewerViewChangedEventArgs)

Raises the ViewChanged event.

OnViewChanging(C1ScrollViewerViewChangingEventArgs)

Raises the ViewChanging event.

Events

Name Description
Refresh

Occurs when the viewer is pulled to be refreshed.

SizeChanged

Occurs after the size of the control changed.

ViewChanged

Occurs when manipulations such as scrolling and zooming have caused the view to change.

ViewChanging

Occurs when manipulations such as scrolling and zooming cause the view to change.