class
NavigationHost
public class NavigationHost : Panel A panel that acts like a website. A single page is always visible but it will cache other views that you visit, and allow forward/backward navigation.
Constructors
NavigationHost() Properties
Methods
virtual Void OnTemplateSlot(INode element, String slotName, Panel panel) This sucks this sucks this sucks
Void AddDestination(String url, Type type) Instead of finding pages by attributes, we can fill them in manually here
Panel Navigate(String url, Boolean redirectToDefault = True) Navigate to the passed url
ValueTuple<String, String>> ExtractProperties(String[] parts, String url) Boolean CurrentUrlMatches(String url) virtual Void SetProperty(String name, String value) virtual Boolean GoBackUntilNot(String wildcard) Keep pressing the back button until our url doesn't match the passed wildcard string
virtual Boolean GoBack() To back to the previous page. Return true on success.
virtual Boolean GoForward() Go forward, return true on success
Fields
| Name | Type | Description |
|---|---|---|
CurrentQuery | String | The query part of the url |
Assembly:
Base Library Namespace: Sandbox.UI.Navigation Full Name: Sandbox.UI.Navigation.NavigationHost