TextCompositionManager.AddTextInputStartHandler Metoda

Definice

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

public:
 static void AddTextInputStartHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::TextCompositionEventHandler ^ handler);
public static void AddTextInputStartHandler(System.Windows.DependencyObject element, System.Windows.Input.TextCompositionEventHandler handler);
static member AddTextInputStartHandler : System.Windows.DependencyObject * System.Windows.Input.TextCompositionEventHandler -> unit
Public Shared Sub AddTextInputStartHandler (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 bublající verzi této události. Informace o verzi tunelového propojení této události naleznete v tématu PreviewTextInputStart.

Platí pro

Viz také