Intersoft ClientUI Documentation
BusyLatency Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > UXBusyIndicator Class : BusyLatency Property






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

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property BusyLatency As Double
Visual Basic (Usage)Copy Code
Dim instance As UXBusyIndicator
Dim value As Double
 
instance.BusyLatency = value
 
value = instance.BusyLatency
C# 
[CategoryAttribute("Common Properties")]
public double BusyLatency {get; set;}
Delphi 
public read-write property BusyLatency: Double; 
JScript 
CategoryAttribute("Common Properties")
public function get,set BusyLatency : double
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property double get_BusyLatency();
public: __property void set_BusyLatency( 
   double value
);
C++/CLI 
[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 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.