Share via


TextCompositionManager.AddPreviewTextInputUpdateHandler Metoda

Definice

Přidá obslužnou rutinu pro připojenou PreviewTextInputUpdate událost.

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)

Parametry

element
DependencyObject

Objekt závislosti, do které chcete přidat obslužnou rutinu události. Objekt závislosti musí být nebo UIElementContentElement.

handler
TextCompositionEventHandler

Delegát, který určuje obslužnou rutinu pro přidání.

Poznámky

Tato metoda přidá obslužnou rutinu pro verzi tunelování této události. Informace o bublající verzi této události najdete v tématu TextInputUpdate.

Platí pro

Viz také