Intersoft ClientUI Documentation
BusyIndicatorLatency Property
Example 



Gets or sets the latency in seconds to wait before the busy indicator is displayed after the IsBusy is set to true.
Syntax
Public Property BusyIndicatorLatency As Double
Dim instance As UXFrame
Dim value As Double
 
instance.BusyIndicatorLatency = value
 
value = instance.BusyIndicatorLatency
public double BusyIndicatorLatency {get; set;}
public:
property double BusyIndicatorLatency {
   double get();
   void set (    double value);
}
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.

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

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

See Also

Reference

UXFrame Class
UXFrame Members
Navigation Overview

Send Feedback