Class PropertyDateControl
A web control that is used to present a user interface for a property deriving from PropertyDate.
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class PropertyDateControl : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings
Constructors
PropertyDateControl()
Declaration
public PropertyDateControl()
Properties
Date
Gets or sets the System.DateTime value for the corresponding PropertyDate.
Declaration
public DateTime Date { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The System.DateTime value for the corresponding PropertyDate. |
EditControl
Gets or sets the control used to edit the property.
Declaration
protected InputDate EditControl { get; set; }
Property Value
Type | Description |
---|---|
InputDate | The control used to edit the property. |
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.
CreateEditControls()
Creates the edit controls.
Declaration
public override void CreateEditControls()
Overrides
Implements
System.Web.UI.INamingContainer