Intersoft ClientUI Documentation
BusyLatency Property (UXBusyIndicator)



Gets or sets the latency, in seconds, before the busy indicator is displayed when IsBusy is set to true.
Syntax
<CategoryAttribute("Common Properties")>
Public Property BusyLatency As Double
Dim instance As UXBusyIndicator
Dim value As Double
 
instance.BusyLatency = value
 
value = instance.BusyLatency
[CategoryAttribute("Common Properties")]
public double BusyLatency {get; set;}
[CategoryAttribute("Common Properties")]
public:
property double BusyLatency {
   double get();
   void set (    double value);
}
Remarks

In many cases, data processing or application tasks may complete faster than expected. The performance varies on a number of factors such as hardware configuration, network speed, and more. In a good sense of user experience, you may want to display the busy indicator only after a certain timespan has ellapsed, for instance, after two seconds. This technique also reduces screen flickering which may occur when the busy indicator is displayed and then hidden in short timespan.

UXBusyIndicator introduces busy latency, a feature that allows you to set the timespan to wait before the busy indicator is displayed, when the IsBusy property changes to true. The default value for the busy latency is one second, which you can customize through the BusyLatency property.

The following example shows how to customize the timespan of the busy latency to two seconds.

XAML
Copy Code
 <Intersoft:UXBusyIndicator BusyLatency="2">
     <Intersoft:DockPanel Width="300" Height="200">
         <TextBlock Text="Welcome to My Application" HorizontalAlignment="Center"/>
     </Intersoft:DockPanel>
 </Intersoft:UXBusyIndicator>
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

UXBusyIndicator Class
UXBusyIndicator Members

Send Feedback