menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class ShimmerView

    This is the view used to achieve shimmer custom view.

    Inheritance
    System.Object
    ShimmerView
    Namespace: Syncfusion.XForms.Shimmer
    Assembly: Syncfusion.Core.XForms.dll
    Syntax
    public class ShimmerView : View

    Constructors

    ShimmerView()

    Declaration
    public ShimmerView()

    Fields

    CornerRadiusProperty

    Identifies the CornerRadius bindable property.

    Declaration
    public static readonly BindableProperty CornerRadiusProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    BackgroundColor

    Gets a background color of shimmer view.

    Declaration
    public Color BackgroundColor { get; }
    Property Value
    Type
    Xamarin.Forms.Color

    CornerRadius

    Gets or sets the corner radius of ShimmerView.

    Declaration
    public double CornerRadius { get; set; }
    Property Value
    Type
    System.Double

    Methods

    OnMeasure(Double, Double)

    Method that measures the view when a layout measurement happens.

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

    Represents available width for shimmer view.

    System.Double heightConstraint

    Represents available height for shimmer view.

    Returns
    Type Description
    Xamarin.Forms.SizeRequest

    Retuns shimmer view measured size.

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