Class PropertyBlockControl
The control to render PropertyBlock<T>.
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public class PropertyBlockControl : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings
Constructors
PropertyBlockControl()
Declaration
public PropertyBlockControl()
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
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
ApplyEditChanges()
Applies changes for the posted data to the page's properties when the RenderType property is set to Edit.
Declaration
public override void ApplyEditChanges()
Overrides
CreateDefaultControls()
Creates a block 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
CreateEditControls()
Creates an edit interface for the property.
Declaration
public override void CreateEditControls()
Overrides
CreateOnPageEditControls()
Creates the "on page edit" controls.
Declaration
public override void CreateOnPageEditControls()
Overrides
SetEnableStateForChildControls(Control, Boolean)
Declaration
protected override void SetEnableStateForChildControls(Control control, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Control | control | |
System.Boolean | enabled |
Overrides
Implements
System.Web.UI.INamingContainer