SaaS CMS has officially launched! Learn more now.

Class PropertyGenericControl

The control to render generic property controls that implements IPropertyDataControl

Inheritance
System.Object
PropertyGenericControl
Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class PropertyGenericControl : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings

Constructors

PropertyGenericControl()

Initializes a new instance of the PropertyGenericControl class.

Declaration
public PropertyGenericControl()

PropertyGenericControl(Control)

Initializes a new instance of the PropertyGenericControl class.

Declaration
public PropertyGenericControl(Control control)
Parameters
Type Name Description
System.Web.UI.Control control

The inner control to wrap

Properties

DisplayEditUI

Legacy edit mode is not supported for generic controls

Declaration
public override bool DisplayEditUI { get; }
Property Value
Type Description
System.Boolean
Overrides

InnerControl

The inner control that is being wrapped by this generic property control

Declaration
public Control InnerControl { get; set; }
Property Value
Type Description
System.Web.UI.Control

Methods

ApplyEditChanges()

Legacy edit mode is not supported for generic controls

Declaration
public override void ApplyEditChanges()
Overrides

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

CreateEditControls()

Legacy edit mode is not supported for generic controls

Declaration
public override void CreateEditControls()
Overrides

Implements

System.Web.UI.INamingContainer

Extension Methods