'Declaration Protected Overrides Function CreateSubObject( _ ByVal id As String _ ) As IStateManager
protected override IStateManager CreateSubObject( string id )
A sub-object is an expandable or "compound" property responsible for its own state management (cf, viewstate) and must implement IStateManager. All sub-objects on the WebMonthView are Styles.
The WebControlBase class calls the override of this method when required, in reaction to calls to SetSubObject and GetSubObject. It should not be necessary for inheritors to ever invoke this method directly.
Inheritors adding additional properties that meet the definition of a sub-object should override this method if they wish to take advantage of the WebControlBase support for viewstate management. Subclasses are free to provide state management through alternative means for properties they add, as they see fit. If this method is overridden, inheritors must call the base implementation when an id is unrecognized.
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