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, 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 bublající verzi této události. Informace o verzi tunelování této události najdete v tématu PreviewTextInputStart.

Platí pro

Viz také