Version

RenderContextBase Class

Abstract base class for more specialized rendering contexts.
Syntax
'Declaration
 
Public MustInherit Class RenderContextBase 
public abstract class RenderContextBase 
Remarks

RenderContextBase contains the essential information common to all rendering contexts. A rendering context exists to mediate any implementation-specific settings of a SmartWebControl into those that are required by it's UIElements to render. The rendering context is the contract describing what information must be shared between a SmartWebControl and the UIElements in it's scene graph. Through this decoupling, the same UIElements can be reused with a different SmartWebControl so long as it can map it's own implementation-specific settings to those required by the UIElements to render themselves.

Inheritors must call the base class setters for View and Renderer from their constructor(s) to properly initialize the RenderContextBase's SmartWebControl and SmartRenderer, respectively.

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