Version

CreateRenderer Method (DayOrientedScheduleView)

Initializes a DayOrientedScheduleViewRenderer associated with this element that assumes responsibility for creating a scene graph of user-interface elements and rendering (serializing) them to the end user.
Syntax
'Declaration
 
Protected Overrides Function CreateRenderer() As SmartRenderer
protected override SmartRenderer CreateRenderer()
Remarks

The DayOrientedScheduleView overrides this method to provide the SmartWebControl infrastructure with a SmartRenderer that supports basic rendering and styling common to all day-oriented views of WebSchedule information.

Inheriting controls should implement this factory method to associate their own custom DayOrientedScheduleViewRenderer subclass with the DayOrientedScheduleView. A derived DayOrientedScheduleViewRenderer must know how to compose an appropriate scene graph for their day-oriented WebSchedule's presentation.

The CreateRenderer method will be invoked by the base SmartWebControl class when it first calls Infragistics.WebUI.WebControls.SmartWebControl.EnsureRenderer, which is usually (but not necessarily) during the PreRender stage of the page lifecycle.

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