Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.Controls Assembly / Xceed.Wpf.Controls Namespace / MaskedTextBox Class / AutoCompletingMask Event


In This Topic
    AutoCompletingMask Event
    In This Topic
    Raised when a mask is being automatically created.
    Syntax
    'Declaration
     
    Public Event AutoCompletingMask As EventHandler(Of AutoCompletingMaskEventArgs)
    'Usage
     
    Dim instance As MaskedTextBox
    Dim handler As EventHandler(Of AutoCompletingMaskEventArgs)
     
    AddHandler instance.AutoCompletingMask, handler
    public event EventHandler<AutoCompletingMaskEventArgs> AutoCompletingMask
    Event Data

    The event handler receives an argument of type AutoCompletingMaskEventArgs containing data related to this event. The following AutoCompletingMaskEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating the position at which the automatic completion of the mask starts.  
    Gets or sets the text that will be used to automatically complete the mask.  
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the input text.  
    Gets a copy of the MaskTextProvider that was used to mask the inputted text.  

    Gets a value indicating the number of selected characters.

     
    Gets the position at which the input text starts.  
    Requirements

    Target Platforms: Windows 11, Windows, 10, 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