WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class KeyValidateEventArgs

    Show / Hide Table of Contents

    Class KeyValidateEventArgs

    Cancellable event for KeyValidate of CurrencyTextBox, DoubleTextBox, IntegerTextBox, or PercentTextBox.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    KeyValidateEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    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 Description
    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 Description
    System.String

    Key

    Returns the character key that was input by the user.

    Declaration
    [TraceProperty(true)]
    public char Key { get; }
    Property Value
    Type Description
    System.Char
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved