Intersoft.Client.UI.Navigation Namespace > UXTabControl Class : TransitionDuration Property |
<CategoryAttribute("Common Properties")> Public Property TransitionDuration As Double
Dim instance As UXTabControl Dim value As Double instance.TransitionDuration = value value = instance.TransitionDuration
[CategoryAttribute("Common Properties")] public double TransitionDuration {get; set;}
[CategoryAttribute("Common Properties")] public: property double TransitionDuration { double get(); void set ( double value); }
By default, the visual transition is set to play for 0.3 seconds. You can customize how long the visual transition should play by setting the TransitionDuration property to the desired value in seconds.
The following example shows how to customize the transition duration of the frame.
XAML |
Copy Code
|
---|---|
<Intersoft:UXTabControl EnablePageTransition="True" TransitionDuration="1" BackTransitionEffect="FlipLeft" ForwardTransitionEffect="FlipRight" DefaultTransitionEffect="FlipUp"> </Intersoft:UXTabControl> |
The recommended transition duration for a typical business application is between 0.3 and 0.7 seconds. You need to carefully review and evaluate your application's user experiences after applying the visual transition. Reducing or increasing the duration exceeding the above recommended value will often cause a poor user experience. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2