TextCompositionManager.AddPreviewTextInputUpdateHandler 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.
Adds a handler for the PreviewTextInputUpdate attached event.
public:
static void AddPreviewTextInputUpdateHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::TextCompositionEventHandler ^ handler);
public static void AddPreviewTextInputUpdateHandler (System.Windows.DependencyObject element, System.Windows.Input.TextCompositionEventHandler handler);
static member AddPreviewTextInputUpdateHandler : System.Windows.DependencyObject * System.Windows.Input.TextCompositionEventHandler -> unit
Public Shared Sub AddPreviewTextInputUpdateHandler (element As DependencyObject, handler As TextCompositionEventHandler)
Parameters
- element
- DependencyObject
A dependency object to add the event handler to. The dependency object must be a UIElement or a ContentElement.
- handler
- TextCompositionEventHandler
A delegate that designates the handler to add.
Remarks
This method adds a handler for the tunneling version of this event. For information about the bubbling version of this event, see TextInputUpdate.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.