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


Glossary Item Box

Gets or sets the content mode of the WebPaneManager control.

Syntax

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

Remarks

By default, the WebPaneManager will operate in UseInlineContent mode when a new instance is dropped to designer surface. UseInlineContent is the most suitable when the contents inside each tab page are relatively small. You can also determine the "content load" by inspecting the performance during page load as well as the size of the output. UseInlineContent mode utilized .NET Framework's Templating archictecture and therefore all contents are loaded at once in first load (although the inactive pages are set to hidden).

In most cases where you want to develop a more reusable form, you should use UseIFrame for the content mode. When using IFrame mode, you would need to specify the ContentURL which page you want to load for the designated Tab item.

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.