The IDynamicContent type exposes the following members.

Methods

  NameDescription
GetControl
Return a control to render the dynamic content on the page. This method will only be called by EPiServer if the
CopyC#
RendersWithControl
property returns true
Render
Return the dynamic content as a string. This method will only be called by EPiServer if the
CopyC#
RendersWithControl
property returns false

Properties

  NameDescription
Properties
This property is used by the EPiServer default Dynamic Content editor to display the properties that require input for your Dynamic Content object. If you supply your own editor by deriving a class from then this property can return null
RendersWithControl
Return true if the class uses a control to render, otherwise return false to render directly from this clas via the Render method
State
Get and sets the state string for your instance. The class should use this value to serialize and deserialize its internal state. This can be null or an empty string if your class does not have any properties that affect it's output.

See Also