Class NumberEditor
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a number editor.
public abstract class NumberEditor : Editor
- Inheritance
-
NumberEditor
- Inherited Members
Constructors
NumberEditor()
Initializes a new instance of an object.
protected NumberEditor()
Properties
AllowDecimalPoints
Gets or sets value indicating whether to allow decimal points.
public virtual bool AllowDecimalPoints { get; }
Property Value
DataType
Gets the data type for this editor.
public override Type DataType { get; }
Property Value
NumberCulture
Gets the number culture settings.
public static CultureInfo NumberCulture { 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.
GetMaxValue()
REturns the maximum value.
public object GetMaxValue()
Returns
- object
- Maximum value.
GetMinValue()
Returns the minimum value.
public object GetMinValue()
Returns
- object
- Minimum value.