Intersoft ClientUI Documentation
StopLoading Method



Stops the currently loading application. If the application is being downloaded, the download will be cancelled.
Syntax
Public Shadows Sub StopLoading() 
Dim instance As UXFrame
 
instance.StopLoading()
public new void StopLoading()
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 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

Send Feedback