Class SfShimmer
SfShimmer is a loading indicator control that provides modern animations when data is being loaded.
Inheritance
Namespace: Syncfusion.XForms.Shimmer
Assembly: Syncfusion.Core.XForms.dll
Syntax
public class SfShimmer : ContentView, IParentThemeElement, IThemeElement
Constructors
SfShimmer()
Initializes a new instance of the SfShimmer class.
Declaration
public SfShimmer()
Fields
AnimationDurationProperty
Gets or sets the duration of the wave animation in milliseconds.
Declaration
public static readonly BindableProperty AnimationDurationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
ColorProperty
Gets or sets the background color of shimmer view.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
ContentProperty
Gets or sets the content of the Shimmer.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
CustomViewProperty
Gets or sets the custom view that is used for loading view.
Declaration
public static readonly BindableProperty CustomViewProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
IsActiveProperty
Gets or sets whether to load actual content of shimmer.
Declaration
public static readonly BindableProperty IsActiveProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
TypeProperty
Gets or sets the built-in shimmer view type.
Declaration
public static readonly BindableProperty TypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
WaveColorProperty
Gets or sets the shimmer wave color.
Declaration
public static readonly BindableProperty WaveColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
WaveDirectionProperty
Gets or sets the animation direction for Shimmer.
Declaration
public static readonly BindableProperty WaveDirectionProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
WaveWidthProperty
Gets or sets the width of the wave.
Declaration
public static readonly BindableProperty WaveWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Remarks
This bindable property is read-only.
Properties
AnimationDuration
Gets or sets the duration of the wave animation in milliseconds.
Declaration
public double AnimationDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The animation duration. |
Color
Gets or sets the background color of shimmer view.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The Shimmer view color. |
Content
Gets or sets the content of the Shimmer.
Declaration
public View Content { get; set; }
Property Value
Type |
---|
Xamarin.Forms.View |
CustomView
Gets or sets the custom view that is used for loading view.
Declaration
public View CustomView { get; set; }
Property Value
Type |
---|
Xamarin.Forms.View |
IsActive
Gets or sets a value indicating whether to load actual content of shimmer.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | IsActive. |
Type
Gets or sets the built-in shimmer view type.
Declaration
public ShimmerTypes Type { get; set; }
Property Value
Type |
---|
ShimmerTypes |
WaveColor
Gets or sets the shimmer wave color.
Declaration
public Color WaveColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The wave color. |
WaveDirection
Gets or sets the animation direction for Shimmer.
Declaration
public WaveDirection WaveDirection { get; set; }
Property Value
Type |
---|
WaveDirection |
WaveWidth
Gets or sets the width of the wave.
Declaration
public double WaveWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The wave width. |