iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I want to add my own button to navigate backward to previous page. How do I do this using MVVM?
I've seen some code
if (ContentFrame.CanGoBack) { ContentFrame.GoBack(); }
How do I get a handle to the ContentFrame of the parent from the page I moved to.
Can I also ask how to naviage to a new page but open a new instance through code.
I can see you use targeturi= _blank when in xaml but not sure how to do using MVVM
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.
The following code example shows how to navigate to a page using BrowseBack command assigned in a button.
Note: the code is implemented in the ViewModel using DelegateCommand-ing.
private void NavigateCommandAction(object parameter) { NavigationCommands.BrowseBack.Execute(null, (UIElement)ISFocusManager.GetFocusedElement()); }
Hope this helps.
Thanks...whatabout this part, thanks
Can I also ask how to navigate to a new page but open a new instance through code.
In order to navigate to a new page but open a new instance through code, we need to set the value of NavigateUri and TargetName.
For example:
<Intersoft:UXNavigationButton x:Name="UXNavigationButton1" Content="Community" NavigateUri="http://www.intersoftpt.com/Community/" TargetName="_blank" />
To do this using MVVM, we need to have two string type properties in the ViewModel and bind them to NavigateUri and TargetName.
Hope this help.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname