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


Glossary Item Box

Gets or sets the content mode of this Tab page.

Syntax

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

Remarks

By default, the WebTab 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.

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.

You can configure different ContentMode for each TabItem. To apply all TabItem to use a specific ContentMode, configure the ContentMode in WebTab control level and leave TabItem's ContentMode to Default.

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.