TextCompositionManager::AddPreviewTextInputStartHandler Method (DependencyObject^, TextCompositionEventHandler^)
.NET Framework (current version)
Adds a handler for the PreviewTextInputStart attached event.
Assembly: PresentationCore (in PresentationCore.dll)
public: static void AddPreviewTextInputStartHandler( DependencyObject^ element, TextCompositionEventHandler^ handler )
Parameters
- element
-
Type:
System.Windows::DependencyObject^
A dependency object to add the event handler to. The dependency object must be a UIElement or a ContentElement.
- handler
-
Type:
System.Windows.Input::TextCompositionEventHandler^
A delegate that designates the handler to add.
This method adds a handler for the tunneling version of this event. For information about the bubbling version of this event, see TextInputStart.
.NET Framework
Available since 3.0
Available since 3.0
Show: