API ReferenceSandbox.UI.Navigation

NavigationHostclass

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.

objectPanelNavigationHost
Namespace
Sandbox.UI.Navigation
Assembly
Base Library
Declaration
public class Sandbox.UI.Navigation.NavigationHost : Sandbox.UI.Panel

Constructors2

Showing 2 constructors

Methods26

Showing 26 methods

Properties9

Showing 9 properties

public string Sandbox.UI.Navigation.NavigationHost.CurrentQuery { get; set; }PUBLICGETSET

The query part of the url we're currently viewing

Returns:string

On this page

Constructorspublic NavigationHost()public NavigationHost()Methodspublic System.Void AddDestination(System.String url, System.Type type)public System.Void AddDestination(System.String url, System.Type type)public System.Boolean CurrentUrlMatches(System.String url)public System.Boolean CurrentUrlMatches(System.String url)public System.Collections.Generic.IEnumerable`1<System.ValueTuple`2<System.String,System.String>> ExtractProperties(System.String[] parts, System.String url)public System.Collections.Generic.IEnumerable`1<System.ValueTuple`2<System.String,System.String>> ExtractProperties(System.String[] parts, System.String url)public virtual System.Boolean GoBack()public virtual System.Boolean GoBack()public virtual System.Boolean GoBackUntilNot(System.String wildcard)public virtual System.Boolean GoBackUntilNot(System.String wildcard)public virtual System.Boolean GoForward()public virtual System.Boolean GoForward()public Sandbox.UI.Panel Navigate(System.String url, System.Boolean redirectToDefault = True)public Sandbox.UI.Panel Navigate(System.String url, System.Boolean redirectToDefault = True)protected virtual System.Void NotFound(System.String url)protected virtual System.Void NotFound(System.String url)protected virtual System.Void OnBack(Sandbox.UI.PanelEvent e)protected virtual System.Void OnBack(Sandbox.UI.PanelEvent e)protected virtual System.Void OnForward(Sandbox.UI.PanelEvent e)protected virtual System.Void OnForward(Sandbox.UI.PanelEvent e)protected virtual System.Void OnParametersSet()protected virtual System.Void OnParametersSet()public virtual System.Void OnTemplateSlot(Sandbox.Html.INode element, System.String slotName, Sandbox.UI.Panel panel)public virtual System.Void OnTemplateSlot(Sandbox.Html.INode element, System.String slotName, Sandbox.UI.Panel panel)public virtual System.Void SetProperty(System.String name, System.String value)public virtual System.Void SetProperty(System.String name, System.String value)Propertiespublic Sandbox.UI.Panel Sandbox.UI.Navigation.NavigationHost.CurrentPanel { get; set; }public Sandbox.UI.Panel Sandbox.UI.Navigation.NavigationHost.CurrentPanel { get; set; }public System.String Sandbox.UI.Navigation.NavigationHost.CurrentQuery { get; set; }public System.String Sandbox.UI.Navigation.NavigationHost.CurrentUrl { get; set; }public System.String Sandbox.UI.Navigation.NavigationHost.CurrentUrl { get; set; }public System.String Sandbox.UI.Navigation.NavigationHost.DefaultUrl { get; set; }public System.String Sandbox.UI.Navigation.NavigationHost.DefaultUrl { get; set; }public Sandbox.UI.Panel Sandbox.UI.Navigation.NavigationHost.NavigatorCanvas { get; set; }public Sandbox.UI.Panel Sandbox.UI.Navigation.NavigationHost.NavigatorCanvas { get; set; }Metadata