Build-in Views in Xamarin Shimmer (SfShimmer)

18 May 20212 minutes to read

Built-in types

The following different built-in shimmer types are available in Shimmer:

  • Persona
  • Profile
  • Article
  • Video
  • Feed
  • Shopping

You can use the built-in shimmer types by setting the Type of SfShimmer.

<shimmer:SfShimmer x:Name="shimmer" VerticalOptions="FillAndExpand" Type="Profile">
                <shimmer:SfShimmer.Content>
                     <StackLayout>
                        <Label Text="Content is loaded!" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"/>
                      </StackLayout>
                </shimmer:SfShimmer.Content>
        </shimmer:SfShimmer>
shimmer = new SfShimmer()
            {
                Type = ShimmerTypes.Profile,
                VerticalOptions = LayoutOptions.FillAndExpand,
                Content = new Label
                {
                    Text = "Content is loaded!"
                }
            };
            this.Content = shimmer;

The built-in shimmer types for Xamarin.Forms