TransitioningContentControl
The TransitioningContentControl is a ContentControl which can render PageTransitions when the Content changes.
最后更新于
这有帮助吗?
The TransitioningContentControl is a ContentControl which can render PageTransitions when the Content changes.
最后更新于
这有帮助吗?
Content
Gets or sets the content to display in the control
ContentTemplate
PageTransition
Let's assume we have a collection of different images and we want to show them in a slideshow like view. In order to do this we can setup our TransitioningContentControl
like this:
If you want to disable the transition, set the PageTransition
to null
.
Gets or sets the used to display the content
Gets or sets the which will be shown when the content changes
If you don't like the PageTransition
which is provided by the applied theme, you can also provide your own . This can be done in XAML, provided via Binding
or via DynamicResource
.
In the sample below we will change the to slide the images horizontally.