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
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.
EndEdit()
Returns the edited value.
[Obsolete("Do not use")]
public override object EndEdit()
Returns
- object
- The edited value.
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
EditorRenderingContext- Editor rendering context.