Intersoft WebDesktop Documentation
ContentMode Property
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebNavBar Class : ContentMode Property


Glossary Item Box

Gets or sets the content mode of the NavBar.

Syntax

Visual Basic (Declaration) 
Public Property ContentMode As NavBarContentMode
Visual Basic (Usage)Copy Code
Dim instance As WebNavBar
Dim value As NavBarContentMode
 
instance.ContentMode = value
 
value = instance.ContentMode
C# 
public NavBarContentMode ContentMode {get; set;}

Remarks

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.

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.