Intersoft ClientUI Documentation
BusyIndicatorTemplate Property (UXFrame)
Example 



Gets or sets the template that represents busy indicator when the IsBusy is true.
Syntax
Public Property BusyIndicatorTemplate As DataTemplate
Dim instance As UXFrame
Dim value As DataTemplate
 
instance.BusyIndicatorTemplate = value
 
value = instance.BusyIndicatorTemplate
public DataTemplate BusyIndicatorTemplate {get; set;}
public:
property DataTemplate^ BusyIndicatorTemplate {
   DataTemplate^ get();
   void set (    DataTemplate^ value);
}
Remarks
To display the user interface that represents busy indicator, you define the XAML template to apply to the BusyIndicatorTemplate of the navigation frame.

For more information, see Navigation Overview.

Example
The following example shows how to customize the busy indicator template to display an indeterminate progress bar during busy state.
<Intersoft:UXPage.Resources>
    <DataTemplate x:Key="FrameBusyTemplate">
        <Grid Opacity="0.8">
                <Border BorderThickness="1" HorizontalAlignment="Center" VerticalAlignment="Center"
                        CornerRadius="8" Background="Black">

                        <Intersoft:UXProgressBar HorizontalAlignment="Left" Width="150" Height="18"
                                                 IsIndeterminate="True" Margin="20"/>

                </Border>
        </Grid>
    </DataTemplate>
</Intersoft:UXPage.Resources>

...

<Intersoft:UXFrame x:Name="ContentFrame"
                   BusyIndicatorTemplate="{StaticResource FrameBusyTemplate}"
                   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