Intersoft ClientUI Documentation
BusyIndicatorLatency Property
See Also  Example Send Feedback
Intersoft.Client.UI.Navigation Namespace > UXFrame Class : BusyIndicatorLatency Property






Gets or sets the latency in seconds to wait before the busy indicator is displayed after the IsBusy is set to true.

Syntax

Visual Basic (Declaration) 
Public Property BusyIndicatorLatency As Double
Visual Basic (Usage)Copy Code
Dim instance As UXFrame
Dim value As Double
 
instance.BusyIndicatorLatency = value
 
value = instance.BusyIndicatorLatency
C# 
public double BusyIndicatorLatency {get; set;}
Delphi 
public read-write property BusyIndicatorLatency: Double; 
JScript 
public function get,set BusyIndicatorLatency : double
Managed Extensions for C++ 
public: __property double get_BusyIndicatorLatency();
public: __property void set_BusyIndicatorLatency( 
   double value
);
C++/CLI 
public:
property double BusyIndicatorLatency {
   double get();
   void set (    double value);
}

Example

The following example shows how to customize the busy latency of the frame to 0.8s.
XAMLCopy Code
<Intersoft:UXFrame x:Name="ContentFrame"
                   BusyIndicatorLatency="0.8">
     <Intersoft:UXFrame.UriMapper>
         ...
     </Intersoft:UXFrame.UriMapper>
</Intersoft:UXFrame>

Remarks

To enhance the user experiences when using busy state feature, you can customize the latency that determines how long a time span should elapse before the busy indicator is displayed. This feature is particularly useful to avoid user interface flickering that may occur when the busy state is changed too fast. For example, consider the scenario when you click a button to load an item's details which subsequently displays the busy indicator. However, the data may load faster than expected specifically when the network traffic is low. This causes flickering as the busy indicator is shown and hidden immediately.

You set the BusyIndicatorLatency property of the UXFrame to a time span measured in seconds. The default value is 1 second, which means that only operations longer than 1 second will show the busy indicator and process the user interface blocking, if BlockUIOnBusy feature in UXPage is enabled.

For more information, see Navigation Overview.

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.