Skip to main content

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

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:

DevExpress Shimmer for MAUI - Custom loading view

<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