Class NumberModifyState
Used to pass state between PrepareXXX and CompleteXXX methods during key processing. This allows for raising the KeyValidate event to cancel any key.
Inheritance
System.Object
NumberModifyState
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class NumberModifyState : Object
Constructors
NumberModifyState()
Declaration
public NumberModifyState()
Fields
changedString
The string after modification.
Declaration
public string changedString
Field Value
| Type |
|---|
| System.String |
changedValue
The value representation of the modified string.
Declaration
public string changedValue
Field Value
| Type |
|---|
| System.String |
handled
Indicates whether the key input was handled.
Declaration
public bool handled
Field Value
| Type |
|---|
| System.Boolean |
inDecimalPosition
Indicates whether the cursor is in the decimal portion of the number.
Declaration
public bool inDecimalPosition
Field Value
| Type |
|---|
| System.Boolean |
initialNegativeState
The initial negative state before modification.
Declaration
public bool initialNegativeState
Field Value
| Type |
|---|
| System.Boolean |
initialString
The original string before modification.
Declaration
public string initialString
Field Value
| Type |
|---|
| System.String |
isNegative
Indicates whether the resulting value is negative.
Declaration
public bool isNegative
Field Value
| Type |
|---|
| System.Boolean |
message
The error message in case of a failed modification.
Declaration
public string message
Field Value
| Type |
|---|
| System.String |
moveBack
Indicates whether the cursor should move back after the edit.
Declaration
public bool moveBack
Field Value
| Type |
|---|
| System.Boolean |
startPositionJustNumbers
The number of digits before the decimal point at the insertion position.
Declaration
public int startPositionJustNumbers
Field Value
| Type |
|---|
| System.Int32 |
success
Indicates whether the modification was successful.
Declaration
public bool success
Field Value
| Type |
|---|
| System.Boolean |