Nevron.UI.WinForm.Controls Namespace / NMaskedTextBox Class / MaskInputRejected Event


In This Topic
    MaskInputRejected Event
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <SRDescriptionAttribute("MaskedTextBoxMaskInputRejectedDescr")>
    Public Event MaskInputRejected As System.Windows.Forms.MaskInputRejectedEventHandler
    'Usage
     
    
    Dim instance As NMaskedTextBox
    Dim handler As System.Windows.Forms.MaskInputRejectedEventHandler
     
    AddHandler instance.MaskInputRejected, handler
    [SRCategory("CatBehavior")]
    [SRDescription("MaskedTextBoxMaskInputRejectedDescr")]
    public event System.Windows.Forms.MaskInputRejectedEventHandler MaskInputRejected
    Event Data

    The event handler receives an argument of type System.Windows.Forms.MaskInputRejectedEventArgs containing data related to this event. The following MaskInputRejectedEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the position in the mask corresponding to the invalid input character.  
    Gets an enumerated value that describes why the input character was rejected.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also