Class PropertyXFormControl

Property control that is used to store a reference to a XForm.

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

Constructors

PropertyXFormControl()

Declaration
public PropertyXFormControl()

Properties

EditControl

Gets or sets the control used to edit the property.

Declaration
protected InputXForm EditControl { get; set; }
Property Value
Type Description
InputXForm

The control used to edit the property.

PropertyXForm

Gets or sets the PropertyXForm for this control.

Declaration
public PropertyXForm PropertyXForm { get; set; }
Property Value
Type Description
PropertyXForm

The PropertyXForm for this control.

XForm

Gets or sets the XForm.

Declaration
public XForm XForm { get; set; }
Property Value
Type Description
XForm

The XForm.

XFormControl

Returns the inner XFormControl that is created in view mode.

Declaration
public XFormControl XFormControl { get; }
Property Value
Type Description
XFormControl
Remarks

If CreateChildControl has not been executed this method will return null.

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
Remarks

This method is called from ApplyChanges() if the control does not have an adapter.

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()

Creates an edit interface for the property.

Declaration
public override void CreateEditControls()
Overrides

Implements

System.Web.UI.INamingContainer

Extension Methods