Intersoft ClientUI Documentation
UXBusyIndicator Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace : UXBusyIndicator Class






Represents a content control that displays an indicator when busy.

Object Model

UXBusyIndicator Class

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Represents a content control that displays an indicator when busy.")>
<TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)>
<StyleTypedPropertyAttribute(Property="OverlayStyle", StyleTargetType=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="BusyIndicatorElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="OverlayElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="BusyIndicatorPresenter", Type=System.Windows.Controls.Grid)>
<StyleTypedPropertyAttribute(Property="DecoratorStyle", StyleTargetType=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="DefaultBusyIndicator", Type=System.Windows.Controls.Grid)>
Public Class UXBusyIndicator 
   Inherits Intersoft.Client.Framework.ISContentControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXBusyIndicator
C# 
[DescriptionAttribute("Represents a content control that displays an indicator when busy.")]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)]
[StyleTypedPropertyAttribute(Property="OverlayStyle", StyleTargetType=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="BusyIndicatorElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="OverlayElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="BusyIndicatorPresenter", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="DecoratorStyle", StyleTargetType=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="DefaultBusyIndicator", Type=System.Windows.Controls.Grid)]
public class UXBusyIndicator : Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
Delphi 
public class UXBusyIndicator = class(Intersoft.Client.Framework.ISContentControl, IControl, IFramework, ILicensing)
JScript 
DescriptionAttribute("Represents a content control that displays an indicator when busy.")
TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)
StyleTypedPropertyAttribute(Property="OverlayStyle", StyleTargetType=System.Windows.Controls.Border)
TemplatePartAttribute(Name="BusyIndicatorElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="OverlayElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="BusyIndicatorPresenter", Type=System.Windows.Controls.Grid)
StyleTypedPropertyAttribute(Property="DecoratorStyle", StyleTargetType=System.Windows.Controls.Border)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="DefaultBusyIndicator", Type=System.Windows.Controls.Grid)
public class UXBusyIndicator extends Intersoft.Client.Framework.ISContentControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[DescriptionAttribute("Represents a content control that displays an indicator when busy.")]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)]
[StyleTypedPropertyAttribute(Property="OverlayStyle", StyleTargetType=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="BusyIndicatorElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="OverlayElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="BusyIndicatorPresenter", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="DecoratorStyle", StyleTargetType=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="DefaultBusyIndicator", Type=System.Windows.Controls.Grid)]
public __gc class UXBusyIndicator : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
C++/CLI 
[DescriptionAttribute("Represents a content control that displays an indicator when busy.")]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)]
[StyleTypedPropertyAttribute(Property="OverlayStyle", StyleTargetType=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="BusyIndicatorElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="OverlayElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="BusyIndicatorPresenter", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="DecoratorStyle", StyleTargetType=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="DefaultBusyIndicator", Type=System.Windows.Controls.Grid)]
public ref class UXBusyIndicator : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  

Remarks

UXBusyIndicator is inherited from ISContentControl, which means that it can contain a single object of any types, such as a string, an image, or a panel. For more information about content model, see Content Model Overview.

You use UXBusyIndicator control to provide an easy way to show a busy visual hint on top of the content when the application is in progress executing a long running task, such as retrieving data, logging in, or saving a record.

UXBusyIndicator is designed as a content control, this means that you generally put the content inside the control, such as shown in the following example.

XAML Copy Code
 <Intersoft:UXBusyIndicator>
     <Intersoft:DockPanel Width="300" Height="200">
         <TextBlock Text="Welcome to My Application" HorizontalAlignment="Center"/>
     </Intersoft:DockPanel>
 </Intersoft:UXBusyIndicator>

UXBusyIndicator displays a busy visual hint when the control is busy, which is done by setting the IsBusy property to true. You can also easily add a custom content to the busy indicator, such as showing a "Loading..." text, or other content that suitable to your application's context.

For more information about UXBusyIndicator, see UXBusyIndicator Overview.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.UI.Controls.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.