TextCompositionManager.AddPreviewTextInputStartHandler Metoda

Definice

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

public:
 static void AddPreviewTextInputStartHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::TextCompositionEventHandler ^ handler);
public static void AddPreviewTextInputStartHandler(System.Windows.DependencyObject element, System.Windows.Input.TextCompositionEventHandler handler);
static member AddPreviewTextInputStartHandler : System.Windows.DependencyObject * System.Windows.Input.TextCompositionEventHandler -> unit
Public Shared Sub AddPreviewTextInputStartHandler (element As DependencyObject, handler As TextCompositionEventHandler)

Parametry

element
DependencyObject

Objekt závislosti pro přidání obslužné rutiny události. Objekt závislosti musí být a UIElement nebo .ContentElement

handler
TextCompositionEventHandler

Delegát, který určuje obslužnou rutinu, kterou chcete přidat.

Poznámky

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

Platí pro

Viz také