Intersoft ClientUI 8 > ClientUI Controls > Control Library > Multimedia Controls Overview > UXFlow > How-to: Customize UXFlow's Flow Effects |
This example shows how to customize UXFlow's flow effects.
UXFlow provides two types of visual effects. The first one is adapted from Apple iTunes’s cover flow, which uses a perspective point of view, and the other is an Intersoft's unique implementation which uses scale point of view.
Both of the effect shares several settings in common such as explained in the following list:
The following example shows you how to use ItemOffset and ItemSpace.
XAML |
Copy Code
|
---|---|
<Intersoft:UXFlow Grid.Row="1" ItemsSource="{Binding HotelCollection}" ImageMemberPath="Hotel.Image" TitleMemberPath="Hotel.Name" SubTitleMemberPath="Hotel.Location" NavigateUriMemberPath="NavigateUri" ItemOffset="0.4" ItemSpace="70" ></Intersoft:UXFlow> |
UXFlow perspective point effect has been significantly enhanced to provide visually compelling flow effect.
The perspective effect is controlled by the following properties:
While the flow animation is controlled by:
You can control the flow-in speed and flow out speed in four different transformations (movement x, movement z, scale and rotation). To achieve the best animation as you desired, you may need to play around with these properties.
XAML |
Copy Code
|
---|---|
<Intersoft:UXFlow Grid.Row="1" ItemsSource="{Binding HotelCollection}" ImageMemberPath="Hotel.Image" TitleMemberPath="Hotel.Name" SubTitleMemberPath="Hotel.Location" NavigateUriMemberPath="NavigateUri" PerspectiveRotation="90" PerspectiveOffsetY="10" InMovementXSpeed="1" InMovementZSpeed="1" InRotationSpeed="1" InScaleSpeed="1" OutMovementXSpeed="1" OutMovementZSpeed="1" OutRotationSpeed="1" OutScaleSpeed="1" ></Intersoft:UXFlow> |