Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShimmerView.WaveDuration Property

Gets or sets the wave duration that specifies how much time a shimmer wave takes to pass through content width.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls

#Declaration

C#
public TimeSpan WaveDuration { get; set; }

#Property Value

Type Description
TimeSpan

A value that specifies wave duration.

#Remarks

The following example shows how to specify shimmer wave duration:

<VerticalStackLayout>
    <Switch x:Name="switch" IsToggled="True" HorizontalOptions="Start" />
    <dxco:ShimmerView IsLoading="{Binding Source={x:Reference switch}, Path=IsToggled, Mode=TwoWay}"
                        HeightRequest="500" WaveDuration="00:00:02.00">
        <Image Source="devexpress_logo_extra_large_color" WidthRequest="200" HeightRequest="200"/>
    </dxco:ShimmerView>
</VerticalStackLayout>
See Also