menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PagerHorizontalScrollView - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PagerHorizontalScrollView

    Represents a customized view that is capable of scrolling horizontally if its content requires.

    Inheritance
    System.Object
    PagerHorizontalScrollView
    Namespace: Syncfusion.SfDataGrid.DataPager
    Assembly: Syncfusion.SfDataGrid.Android.dll
    Syntax
    public class PagerHorizontalScrollView : HorizontalScrollView

    Constructors

    PagerHorizontalScrollView(Context)

    Initializes a new instance of the PagerHorizontalScrollView class.

    Declaration
    public PagerHorizontalScrollView(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    The Android.Content.Context.

    Methods

    Dispose(Boolean)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    OnAttachedToWindow()

    Used to find this instance is comes to view.

    Declaration
    protected override void OnAttachedToWindow()

    OnLayout(Boolean, Int32, Int32, Int32, Int32)

    layouts this instance

    Declaration
    protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.Boolean changed

    indicates the layout changed

    System.Int32 left

    left position of this instance.

    System.Int32 top

    top position of this instance.

    System.Int32 right

    right position of this instance.

    System.Int32 bottom

    bottom position of this instance.

    OnScrollChanged(Int32, Int32, Int32, Int32)

    Method to notify the scrolled changed action.

    Declaration
    protected override void OnScrollChanged(int left, int top, int oldLeft, int oldTop)
    Parameters
    Type Name Description
    System.Int32 left

    The left extent of the view.

    System.Int32 top

    The top extent of the view.

    System.Int32 oldLeft

    The old left extent of the view.

    System.Int32 oldTop

    The old top extent of the view.

    OnTouchEvent(MotionEvent)

    This method handles the touch event.

    Declaration
    public override bool OnTouchEvent(MotionEvent e)
    Parameters
    Type Name Description
    Android.Views.MotionEvent e

    The Android.Views.MotionEvent.

    Returns
    Type Description
    System.Boolean

    Returns a boolean value indicating whether touch is handled or not.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved