Version

ContentPane Class

The ContentPane object handles context displayed in the UltraWebTab when a particular Tab object is selected.
Syntax
'Declaration
 
Public Class ContentPane 
   Inherits System.Web.UI.Control
public class ContentPane : System.Web.UI.Control 
Remarks

Notes:

  • It can display the TargetUrl which is rendered as the <IFRAME> html element, or it may have explicit child controls that are placed within the <DIV> html element and are rendered using the standard logic of the .NET.
  • Child controls can be constructed and added to the Children or to the Controls from code at run time, or they can be built at design time using the templates: right-mouse-click on the UltraWebTab and select "Edit Template" option.
  • If the TargetUrl is not set, then the child controls are rendered automatically.
  • The background color of the ContentPane is defined by the BackColor of the Tab.SelectedStyle.
  • The ContentPane may have optional border. If none of properties related to border is set and ContentPane has TargetUrl, then' the default border of the <IFRAME> html element is used. Border properties are applied for both modes: TargetUrl and child controls.
  • The UltraWebTab.CustomRules property can be used to apply more custom html styles while rendering.

    Examples:

    UltraWebTab1.CustomRules = "background-image:url(./myImage.gif); background-repeat:no-repeat;";

    UltraWebTab1.CustomRules = "padding:10";

    UltraWebTab1.CustomRules = "cursor:default; padding-left:10; padding-right:20";

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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