Class KeyValidateEventArgs
Cancellable event for KeyValidate of CurrencyTextBox, DoubleTextBox, IntegerTextBox, or PercentTextBox.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class KeyValidateEventArgs : SyncfusionCancelEventArgs
Constructors
KeyValidateEventArgs(Char, String, String)
Declaration
public KeyValidateEventArgs(char key, string changedString, string changedValueString)
Parameters
Type | Name | Description |
---|---|---|
System.Char | key | |
System.String | changedString | |
System.String | changedValueString |
Properties
ChangedString
Returns the changed string that will be set as the text of the text box if this event is not cancelled.
Declaration
[TraceProperty(true)]
public string ChangedString { get; }
Property Value
Type |
---|
System.String |
ChangedValueString
Returns the unformatted changed string that will be set as the text of the text box if this event is not cancelled.
Declaration
[TraceProperty(true)]
public string ChangedValueString { get; }
Property Value
Type |
---|
System.String |
Key
Returns the character key that was input by the user.
Declaration
[TraceProperty(true)]
public char Key { get; }
Property Value
Type |
---|
System.Char |