Table of Contents

Class TimestampEditor

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll
Represents a timestamp editor.
public abstract class TimestampEditor : Editor
Inheritance
TimestampEditor
Inherited Members

Constructors

TimestampEditor()

Initializes a new instance of an object.
protected TimestampEditor()

Fields

DateFormat

[Obsolete("Use DateFormatting instead.")]
public static string DateFormat

Field Value

string

MaxDate

Gets the maximum allowed date.
public static DateTime MaxDate

Field Value

DateTime

MinDate

Gets the minimum allowed date.
public static DateTime MinDate

Field Value

DateTime

Properties

DataType

Gets the data type for this editor.
public override Type DataType { get; }

Property Value

Type

DateFormatting

public static string DateFormatting { get; }

Property Value

string

IncludeTime

Gets or sets value indicating whether to allow time editing.
public virtual bool IncludeTime { get; }

Property Value

bool

Methods

BeginEdit(EditorContext)

Enables the editor to populate its UI to the client and initiate the editing process.
[Obsolete("Do not use")]
public override void BeginEdit(EditorContext context)

Parameters

context EditorContext
Editor context.

BeginEditFrontend(EditorContext)

Enables the editor to populate its UI to the client and initiate the editing process (for frontend).
[Obsolete("Do not use")]
public override void BeginEditFrontend(EditorContext context)

Parameters

context EditorContext
Editor context.

EndEdit()

Returns the edited value.
[Obsolete("Do not use")]
public override object EndEdit()

Returns

object
The edited value.

EndEditFrontend()

Returns the edited value (for frontend).
[Obsolete("Do not use")]
public override object EndEditFrontend()

Returns

object
The edited value.

RenderValue(EditorRenderingContext)

Renders value.
public override void RenderValue(EditorRenderingContext context)

Parameters

context EditorRenderingContext
Editor rendering context.
To top