menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class Footer

    Represents a class that holds the numeric buttons in the footer region in a SfDataPager.

    Inheritance
    System.Object
    Footer
    Implements
    System.IDisposable
    Namespace: Syncfusion.SfDataGrid.XForms.DataPager
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public class Footer : Layout<View>, IDisposable

    Constructors

    Footer(SfDataPager)

    Initializes a new instance of the Footer class.

    Declaration
    public Footer(SfDataPager pager)
    Parameters
    Type Name Description
    SfDataPager pager

    The reference of the SfDataPager.

    Properties

    Visibility

    Gets or sets a value indicating whether to enable/disable the visibility of the NumericButton in the footer region.

    Declaration
    public bool Visibility { get; set; }
    Property Value
    Type Description
    System.Boolean

    The boolean value indicating whether to enable/disable the visibility of the NumericButton in the footer region.

    Methods

    Dispose()

    Releases the resources used by the component.

    Declaration
    public void Dispose()

    Dispose(Boolean)

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

    Declaration
    protected virtual 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.

    LayoutChildren(Double, Double, Double, Double)

    Positions and sizes the children of the Footer.

    Declaration
    protected override void LayoutChildren(double x, double y, double width, double height)
    Parameters
    Type Name Description
    System.Double x

    A value that represents the x coordinate of the child.

    System.Double y

    A value that represents the y coordinate of the child.

    System.Double width

    A value that represents the width of the child.

    System.Double height

    A value that represents the height of the child.

    OnMeasure(Double, Double)

    This method is called during the measure pass of a layout cycle to get the desired size of an element.

    Declaration
    protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint

    The available width for the element to use.

    System.Double heightConstraint

    The available height for the element to use.

    Returns
    Type Description
    Xamarin.Forms.SizeRequest

    A Xamarin.Forms.SizeRequest which contains the desired size of the element.

    Remarks

    The results of this method will be (-1, -1) if the element has not yet been realized with a platform specific backing control. Overriding this method does not require a call to the base class so long as a valid SizeRequest is returned.

    ShouldInvalidateOnChildAdded(View)

    Method to decide whether to call Xamarin.Forms.VisualElement.InvalidateMeasure or not.

    Declaration
    protected override bool ShouldInvalidateOnChildAdded(View child)
    Parameters
    Type Name Description
    Xamarin.Forms.View child

    A child added to the Footer.

    Returns
    Type Description
    System.Boolean

    A boolean value do decide whether to invalidate when adding a child.

    ShouldInvalidateOnChildRemoved(View)

    Method to decide whether to call Xamarin.Forms.VisualElement.InvalidateMeasure or not.

    Declaration
    protected override bool ShouldInvalidateOnChildRemoved(View child)
    Parameters
    Type Name Description
    Xamarin.Forms.View child

    A child removed from the Footer.

    Returns
    Type Description
    System.Boolean

    A boolean value do decide whether to invalidate when removing a child.

    Implements

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