Infragistics(R) NetAdvantage(R) : Silverlight 2011.2
InvalidChar Event
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Editors Namespace > XamMaskedInput Class : InvalidChar Event

Occurs when the user types a character that fails mask validation.

Syntax

Visual Basic (Declaration) 
Public Event InvalidChar As EventHandler(Of InvalidCharEventArgs)
C# 
public event EventHandler<InvalidCharEventArgs> InvalidChar

Event Data

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

PropertyDescription
Beep Gets or sets a value indicating whether the XamMaskedInput should beep.
Char Gets the invalid character that the user attempted to input.
DisplayChar Gets the display character instance where the user attempted to enter the invalid character.

Remarks

The InvalidChar event is fired when user types a character that does not match the mask associated with the current input position.

See Also