ComponentOne FinancialChart for WPF
MaskedTextChanged Event



C1.WPF Namespace > C1MaskedTextBox Class : MaskedTextChanged Event
Occurs when consistent content that conforms to the Mask changes in the text box.
Syntax
'Declaration
 
Public Event MaskedTextChanged As MaskedTextChangedEventHandler
'Usage
 
Dim instance As C1MaskedTextBox
Dim handler As MaskedTextChangedEventHandler
 
AddHandler instance.MaskedTextChanged, handler
public event MaskedTextChangedEventHandler MaskedTextChanged
public:
event MaskedTextChangedEventHandler^ MaskedTextChanged
Event Data

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

PropertyDescription
Gets a new text.  
Gets an old text.  
Remarks
Just after the Text property has beed changed via user input or code, the C1MaskedTextBox updates the text again in order to make it consistent with the Mask. As a result, the TextChanged event can be triggered twice on each user input. In contrast to this, the MaskedTextChanged is triggered only when Text is updated with a value that conforms to the Mask.
See Also