Interface IStringFragment
States the representation of fragments in content. That is a fragment can have an internal format (db) and an external format.
Inherited Members
Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface IStringFragment : IReferenceMap
Remarks
The implemented class should marked as Serializable or implement ISerializable interface
Properties
InternalFormat
Gets the internal format of the fragment, that is what is stored in db
Declaration
string InternalFormat { get; }
Property Value
Type | Description |
---|---|
System.String | The internal format. |
Methods
GetControl(TemplateControl)
Gets the control that can be placed in Page Control collection
Declaration
[Obsolete("Use IStringFragmentControlResolver to resolve control for fragment")]
Control GetControl(TemplateControl hostPage)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.TemplateControl | hostPage |
Returns
Type | Description |
---|---|
System.Web.UI.Control |
GetEditFormat()
Gets the format for edit mode
Declaration
string GetEditFormat()
Returns
Type | Description |
---|---|
System.String |
GetViewFormat()
Gets the format for view mode
Declaration
string GetViewFormat()
Returns
Type | Description |
---|---|
System.String |