Xamarin.Android

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

    Show / Hide Table of Contents

    Class ScrollPanel

    UIView to layout the DataFormItemView.

    Inheritance
    System.Object
    ScrollPanel
    Namespace: Syncfusion.Android.DataForm
    Assembly: Syncfusion.SfDataForm.Android.dll
    Syntax
    public class ScrollPanel : FrameLayout

    Constructors

    ScrollPanel(Context)

    Initiates new instance of ScrollPanel.

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

    Context of the view

    ScrollPanel(Context, IAttributeSet)

    Initiates new instance of ScrollPanel.

    Declaration
    public ScrollPanel(Context context, IAttributeSet attributeSet)
    Parameters
    Type Name Description
    Android.Content.Context context

    Context of the view

    Android.Util.IAttributeSet attributeSet

    Required attributes set

    ScrollPanel(Context, IAttributeSet, Int32)

    Initiates new instance of ScrollPanel.

    Declaration
    public ScrollPanel(Context context, IAttributeSet attributeSet, int definedStyle)
    Parameters
    Type Name Description
    Android.Content.Context context

    Context of the view

    Android.Util.IAttributeSet attributeSet

    Required attributes set

    System.Int32 definedStyle

    Default style attribute.

    ScrollPanel(IntPtr, JniHandleOwnership)

    Initiates new instance of ScrollPanel.

    Declaration
    protected ScrollPanel(IntPtr javaReference, JniHandleOwnership transfer)
    Parameters
    Type Name Description
    System.IntPtr javaReference

    Java Native Interface object reference.

    Android.Runtime.JniHandleOwnership transfer

    A Android.Runtime.JniHandleOwnership indicating how to handle.

    Properties

    LayoutManager

    Gets or sets the DataFormLayoutManager instance to handle the DataFormItemView collection.

    Declaration
    public DataFormLayoutManager LayoutManager { get; set; }
    Property Value
    Type Description
    DataFormLayoutManager

    RowCount

    Gets or sets the value that indicates the number of rows in a DataForm.

    Declaration
    public int RowCount { get; set; }
    Property Value
    Type Description
    System.Int32

    RowHeight

    Gets a value that indicates the height of the EditorPanel

    Declaration
    public int RowHeight { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Dispose(Boolean)

    Disposes all the resources used by the ScrollPanel class.

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

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

    Called from layout when this view should assign a size and position to each of its children.

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

    This is a new size or position for this view

    System.Int32 left

    Left position, relative to parent

    System.Int32 top

    Top position, relative to parent

    System.Int32 right

    Right position, relative to parent

    System.Int32 bottom

    Bottom position, relative to parent

    OnMeasure(Int32, Int32)

    Positions and sizes the children in the ScrollPanel.

    Declaration
    protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
    Parameters
    Type Name Description
    System.Int32 widthMeasureSpec

    Width measure spec.

    System.Int32 heightMeasureSpec

    Height measure spec.

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