Menu.OnTextInput(TextCompositionEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles the TextInput routed event that occurs when the menu receives text input from any device.
protected:
override void OnTextInput(System::Windows::Input::TextCompositionEventArgs ^ e);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override void OnTextInput (System.Windows.Input.TextCompositionEventArgs e);
protected override void OnTextInput (System.Windows.Input.TextCompositionEventArgs e);
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.OnTextInput : System.Windows.Input.TextCompositionEventArgs -> unit
override this.OnTextInput : System.Windows.Input.TextCompositionEventArgs -> unit
Protected Overrides Sub OnTextInput (e As TextCompositionEventArgs)
Parameters
The event data.
- Attributes
Remarks
This implementation does not change the handled state (the Handled property) of the TextInput event data.
Notes to Inheritors
If you override OnTextInput(TextCompositionEventArgs), always call the base implementation in your OnTextInput(TextCompositionEventArgs) implementation. Failure to call the base implementation prevents base classes from handling the event with a class handler, which might change the run-time behavior of the final class. You can call the base implementation either before or after your special handling, depending on your requirements.