Class BaseSpinEditor
Represents a numeric up/down editor.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class BaseSpinEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
BaseSpinEditor()
Declaration
public BaseSpinEditor()
Fields
selectionLength
Declaration
protected int selectionLength
Field Value
System.Int32
|
selectionStart
Declaration
protected int selectionStart
Field Value
System.Int32
|
Properties
DataType
Declaration
public override Type DataType { get; }
Property Value
System.Type
|
Overrides
DecimalPlaces
Gets or sets the number of decimal places to display in the editor.
Declaration
public int DecimalPlaces { get; set; }
Property Value
System.Int32
|
MaxValue
Gets or sets the maximum value that could be set in the editor.
Declaration
public decimal MaxValue { get; set; }
Property Value
System.Decimal
|
MinValue
Gets or sets the minimum value that could be set in the editor.
Declaration
public decimal MinValue { get; set; }
Property Value
System.Decimal
|
Step
Gets or sets the value which is added to/subtracted from the current value of the editor.
Declaration
public decimal Step { get; set; }
Property Value
System.Decimal
|
ThousandsSeparator
Gets or sets a value indicating whether a thousands separator is displayed in the editor.
Declaration
public bool ThousandsSeparator { get; set; }
Property Value
System.Boolean
|
Value
Declaration
public override object Value { get; set; }
Property Value
System.Object
|
Overrides
ValueType
Gets or sets the type of the value to use in the editor.
Declaration
public Type ValueType { get; set; }
Property Value
System.Type
|
Methods
BeginEdit()
CreateEditorElement()
EndEdit()
Declaration
public override bool EndEdit()
Returns
System.Boolean
|
Overrides
Initialize(Object, Object)
Declaration
public override void Initialize(object owner, object value)
Parameters
System.Object
owner
|
System.Object
value
|
Overrides
OnKeyDown(KeyEventArgs)
Declaration
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
OnKeyUp(KeyEventArgs)
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
OnLostFocus()
Declaration
public virtual void OnLostFocus()
Validate()
Declaration
public override bool Validate()
Returns
System.Boolean
|