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
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
Methods
Deserialize(string)
public static GeolocationEditor.Location Deserialize(string value)
Parameters
value
string
Returns
GetViewModelValue(object)
Gets the value as an instance of GeolocationViewModel
public override object GetViewModelValue(object value)
Parameters
value
object
Returns
RenderValue(EditorRenderingContext)
Renders value.
public override void RenderValue(EditorRenderingContext context)
Parameters
context
EditorRenderingContextEditor rendering context.