Back to Devexpress

PageView.AnimationType Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-pageview-61258a9e.md

latest2.7 KB
Original Source

PageView.AnimationType Property

Gets or sets the animation used to visualize navigation through the current PageView‘s items.

Namespace : DevExpress.Xpf.WindowsUI

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public AnimationType AnimationType { get; set; }
vb
Public Property AnimationType As AnimationType

Property Value

TypeDescription
AnimationType

The AnimationType enumerator value that specifies the animation used to visualize navigation through the current PageView‘s items.

|

Available values:

NameDescription
Fade

Pages fade in.

| | SlideHorizontal |

Pages slide horizontally.

| | SlideVertical |

Pages slide vertically.

| | None |

Pages are shown immediately, without any visual effects.

|

Remarks

You can choose between different animation types, such as vertical slide, horizontal slide or fade. You can also set the AnimationType property to AnimationType.None to disable item navigation animation effects.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AnimationType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pageview-create-bind-to-data/CS/PageViewSample/MainWindow.xaml#L72

xml
<Grid>
    <dxwui:PageView AnimationType="SlideHorizontal" Header="Page View" ItemsSource="{Binding DataSource}" ItemTemplate="{StaticResource ItemHeaderTemplate}" ContentTemplate="{StaticResource ItemContentTemplate}"/>
</Grid>

See Also

PageView Class

PageView Members

DevExpress.Xpf.WindowsUI Namespace