'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.
Property | Description |
---|---|
AutoCompleteStartPosition | Gets or sets a value indicating the position at which the automatic completion of the mask starts. |
AutoCompleteText | Gets or sets the text that will be used to automatically complete the mask. |
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Input | Gets the input text. |
MaskedTextProvider | Gets a copy of the MaskTextProvider that was used to mask the inputted text. |
SelectionLength | Gets a value indicating the number of selected characters. |
StartPosition | 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