Having trouble getting help?
Contact Support
Contact Support
Built-in Views in Xamarin Shimmer (SfShimmer)
8 Jan 20252 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;