| Visual Basic (Declaration) | |
|---|---|
Public Enum NavBarContentMode Inherits System.Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As NavBarContentMode | |
| C# | |
|---|---|
public enum NavBarContentMode : System.Enum | |
| Member | Description |
|---|---|
| Default | |
| UseIFrame | The content mode of WebNavBar is UseIFrame mode. |
| UseInlineContent | The content mode of WebNavBar is UseInlineContent mode. |
| UseItems | The content mode of WebNavBar is UseItems mode. |
By default, the WebNavBar will operate in UseInlineContent mode when a new instance is dropped to designer surface. UseInlineContent is the most suitable when the contents inside each WebNavBar page are relatively small. UseInlineContent mode utilized .NET Framework's template architecture and therefore all contents are loaded at once in first load (although the contents in inactive bar are set to hidden).
In most cases where you want to develop a more reusable form, you should use UseIFrame as the content mode. When using IFrame mode, you would need to specify the ContentURL which page you want to load for the designated WebNavBar.
System.Object
System.ValueType
System.Enum
ISNet.WebUI.WebDesktop.NavBarContentMode
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