Class PropertyLongStringControlBase
Base class for controls that work with html data. For instance property controls for html editors.
Inheritance
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public abstract class PropertyLongStringControlBase : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings
Constructors
PropertyLongStringControlBase()
Declaration
protected PropertyLongStringControlBase()
Properties
RowLayout
Specifies how a property row is rendered in the edit user interface.
Declaration
public override TableRowLayout RowLayout { get; }
Property Value
Type | Description |
---|---|
TableRowLayout | One of the values defined in TableRowLayout. |
Overrides
SupportsOnPageEdit
Gets a value indicating whether this control supports "on page edit".
Declaration
public override bool SupportsOnPageEdit { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Overrides
Remarks
PropertyLongStringControl supports "on page edit". If this property returns false CreateDefaultControls() will be called instead of CreateOnPageEditControls() when in "on page edit" mode.
Tag
Gets or sets the current tag that should be used to select template
Declaration
public string Tag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CreateDefaultControls()
Creates the default controls for the property. Used when the property is in view mode or in "on page edit" mode and the PropertyDataControl does not support on page editing.
Declaration
public override void CreateDefaultControls()
Overrides
Remarks
PropertyLongStringControl will create a div tag instead of a span tag.
GetFilteredFragments(PropertyXhtmlString)
Gets the filtered fragments controls.
Declaration
protected IEnumerable<Control> GetFilteredFragments(PropertyXhtmlString xHtmlProperty)
Parameters
Type | Name | Description |
---|---|---|
PropertyXhtmlString | xHtmlProperty | The XHTML property. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Web.UI.Control> |