Table of Contents

Class GeolocationEditor

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll

Represents a geolocation editor.

[Editor("Geolocation")]
public class GeolocationEditor : Editor
Inheritance
GeolocationEditor
Inherited Members

Constructors

GeolocationEditor()

Initializes a new instance of an object.

public GeolocationEditor()

Properties

AddressFields

Gets or sets the allowed extensions.

[AddInParameter("Address fields")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string AddressFields { get; set; }

Property Value

string

Remarks

If extensions are entered, only files of those extensions are passed.

DataType

Gets the data type for this editor.

public override Type DataType { get; }

Property Value

Type

Methods

Deserialize(string)

public static GeolocationEditor.Location Deserialize(string value)

Parameters

value string

Returns

GeolocationEditor.Location

GetViewModelValue(object)

Gets the value as an instance of GeolocationViewModel

public override object GetViewModelValue(object value)

Parameters

value object

Returns

object

RenderValue(EditorRenderingContext)

Renders value.

public override void RenderValue(EditorRenderingContext context)

Parameters

context EditorRenderingContext

Editor rendering context.

To top