Intersoft WebDesktop Documentation
WebNavPane Class
Members  Example  See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace : WebNavPane Class


Glossary Item Box

WebNavPane is the server control object serving as the root container for WebNavBar objects as well as other available configurations. WebNavPane lets you create advanced navigation user interface with the richness of desktop's navigation.

Object Model

WebNavPane Class

Syntax

Visual Basic (Declaration) 
Public Class WebNavPane 
   Inherits ISNet.WebUI.ISNetControl
   Implements ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.ICustomXmlSerializer, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, ISNet.WebUI.ITemplateSync 
Visual Basic (Usage)Copy Code
Dim instance As WebNavPane
C# 
public class WebNavPane : ISNet.WebUI.ISNetControl, ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.ICustomXmlSerializer, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, ISNet.WebUI.ITemplateSync  

Remarks

WebNavPane consists of main user interface elements, which are Header, Content, BarResizer, Bars, and Footer.

You can use WebNavPane control to quickly create rich and fully-functional Outlook-like navigation user interface in a professional way. WebNavPane is designed with elegant architecture and object model as well as specialized user interface for each element. As a result, you do not need to do any workarounds in order to achieve a modern navigation control which is rich in styles, functions and behaviors.

WebNavPane enhances user experience through resizable Bars. It allows your users resize the bar to determine how many bars should be visible in the navigation control. WebNavPane will automatically manage the available bars and collapse them in the Footer section as users drag the ResizerGrip to the bottom way. WebNavPane also maintain every states of the Bar, such as the currently ActiveBar and properly restore them whether the bar is collapsed or restored.

WebNavPane increases developer's productivity through advanced flexibility and extensibility. It sets a new standard in navigation user interface by providing advanced features for greater flexibility and extensibility. You can choose one of three ContentMode for each Bar's contents, or having all of them to use the global setting specified in BarSettings.

Example

The sample codes below show you how to load NavPane structure programmatically. You need to put the following codes at Page_Load
C#Copy Code
// initialize navPane 
ISNet.WebUI.WebDesktop.WebNavPane navPane = (ISNet.WebUI.WebDesktop.WebNavPane)WebPaneManager1.FindControl("WebNavPane1");

// initialize navBar
ISNet.WebUI.WebDesktop.WebNavBar navBar = new ISNet.WebUI.WebDesktop.WebNavBar();

// initialize navBar
ItemISNet.WebUI.WebDesktop.WebNavBarItem navBarItem = new ISNet.WebUI.WebDesktop.WebNavBarItem();

// configure navBarItem's settings
navBarItem.Name = "itmBarItem1";
navBarItem.Text = "Item 1";
navBarItem.Image = "~/Images/Home.gif";
navBarItem.DisplayMode = ISNet.WebUI.WebDesktop.DisplayMode.TextAndImage;

// configure navBar's settings
navBar.Name = "wnbBar1";
navBar.Text = "NavBar 1";
navBar.Image = "~/Images/S_Cust-24.gif";
navBar.CaptionDisplayMode = ISNet.WebUI.WebDesktop.DisplayMode.TextAndImage;

// add navBarItem to navBar Item's Collection
navBar.Items.Add(navBarItem);
// add navBar to navNape Bar's Collection
navPane.Bars.Add(navBar);

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         ISNet.WebUI.ISNetControl
            ISNet.WebUI.WebDesktop.WebNavPane
               ISNet.WebUI.WebDesktop.WebExplorerPane

Requirements

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

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.