Intersoft ClientUI Documentation
Refresh Property
See Also  Send Feedback
Intersoft.Client.Framework Namespace > NavigationCommands Class : Refresh Property






Syntax

Visual Basic (Declaration) 
Public Shared ReadOnly Property Refresh As RoutedUICommand
Visual Basic (Usage)Copy Code
Dim value As RoutedUICommand
 
value = NavigationCommands.Refresh
C# 
public static RoutedUICommand Refresh {get;}
Delphi 
public read-only property Refresh: RoutedUICommand; static; 
JScript 
public static function get Refresh : RoutedUICommand
Managed Extensions for C++ 
public: __property static RoutedUICommand* get_Refresh();
C++/CLI 
public:
static property RoutedUICommand^ Refresh {
   RoutedUICommand^ get();
}

Remarks

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 Refresh command.

The following code example shows how to navigate to a page using Refresh command assigned in a button.

XAML Copy Code
<Intersoft:UXPage...
    xmlns:Intersoft="http://intersoft.clientui.com/schemas">
    ...
    <StackPanel... >
        <Intersoft:UXButton Name="RefreshButton" Content="Refresh" Command="Intersoft:NavigationCommands.Refresh" />
    </StackPanel>
</Intersoft:UXPage>

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.