Intersoft ClientUI Documentation
TransitionDuration Property
See Also  Send Feedback
Intersoft.Client.UI.Navigation Namespace > UXTabControl Class : TransitionDuration Property






Gets or sets the duration of the transition effect in seconds. If not specified, the default value is 0.3.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property TransitionDuration As Double
Visual Basic (Usage)Copy Code
Dim instance As UXTabControl
Dim value As Double
 
instance.TransitionDuration = value
 
value = instance.TransitionDuration
C# 
[CategoryAttribute("Common Properties")]
public double TransitionDuration {get; set;}
Delphi 
public read-write property TransitionDuration: Double; 
JScript 
CategoryAttribute("Common Properties")
public function get,set TransitionDuration : double
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property double get_TransitionDuration();
public: __property void set_TransitionDuration( 
   double value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property double TransitionDuration {
   double get();
   void set (    double value);
}

Remarks

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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.