Intersoft.Client.Framework Namespace > NavigationCommands Class : BrowseStop Property |
Public Shared ReadOnly Property BrowseStop As RoutedUICommand
Dim value As RoutedUICommand value = NavigationCommands.BrowseStop
public static RoutedUICommand BrowseStop {get;}
public: static property RoutedUICommand^ BrowseStop { RoutedUICommand^ get(); }
The ClientUI navigation framework is built around the commanding semantics which allows certain features of the navigation to be executed through declarative definition in the XAML markup. The commanding semantics is also an ideal approach for MVVM pattern development.
ClientUI already includes several predefined commands for navigation that you can use in your application such as BrowseStop command.
The following code example shows how to navigate to a page using BrowseStop command assigned in a button.
XAML |
Copy Code
|
---|---|
<Intersoft:UXPage... xmlns:Intersoft="http://intersoft.clientui.com/schemas"> ... <StackPanel... > <Intersoft:UXButton Name="StopButton" Content="Stop" Command="Intersoft:NavigationCommands.BrowseStop" /> </StackPanel> </Intersoft:UXPage> |
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