Intersoft ClientUI Documentation
StopLoading Method
See Also  Send Feedback
Intersoft.Client.UI.Navigation Namespace > UXFrame Class : StopLoading Method






Stops the currently loading application. If the application is being downloaded, the download will be cancelled.

Syntax

Visual Basic (Declaration) 
Public Shadows Sub StopLoading() 
Visual Basic (Usage)Copy Code
Dim instance As UXFrame
 
instance.StopLoading()
C# 
public new void StopLoading()
Delphi 
public procedure StopLoading(); 
JScript 
public hide function StopLoading();
Managed Extensions for C++ 
public: new void StopLoading(); 
C++/CLI 
public:
new void StopLoading(); 

Remarks

The following code shows how to refresh a UXPage using code.
XAML Copy Code
<Intersoft:UXFrame x:Name="ContentFrame"... >
    <Intersoft:UXFrame.UriMapper>
        <Intersoft:UriMapper>
            <Intersoft:UriMapping Uri="" MappedUri="/Views/Home.xaml"/>
            <Intersoft:UriMapping Uri="/{page}" MappedUri="/Views/{page}.xaml"/>
        </Intersoft:UriMapper>
    </Intersoft:UXFrame.UriMapper>
</Intersoft:UXFrame>

<Intersoft:UXButton Name="RefreshButton" Content="Refresh" />
C# Copy Code
public MainPage()
{
    ...
    RefreshButton.Click += new RoutedEventHandler(RefreshButton_Click);
}

void RefreshButton_Click(object sender, RoutedEventArgs e)
{
    ContentFrame.Refresh();
}

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.