Built-in views of .NET MAUI Shimmer (SfShimmer)
19 Sep 20241 minute to read
Built-in types
Syncfusion .NET MAUI Shimmer (SfShimmer) control provides seven built-in shimmer view types such as CirclePersona, SquarePersona, Profile, Article, Video, Feed, and Shopping.
The built-in shimmer types can be used by setting the Type of SfShimmer
. By default, the CirclePersona is initially rendered.
<shimmer:SfShimmer x:Name="shimmer" VerticalOptions="FillAndExpand"
Type="CirclePersona">
<StackLayout>
<Label
Text="Content is loaded!!"
HorizontalOptions="CenterAndExpand"
VerticalOptions="CenterAndExpand">
</Label>
</StackLayout>
</shimmer:SfShimmer>
SfShimmer shimmer = new SfShimmer()
{
Type = ShimmerType.CirclePersona,
VerticalOptions = LayoutOptions.Fill,
Content = new Label
{
Text = "Content is loaded!!"
}
};
this.Content = shimmer;