Share via


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, 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, která se má přidat.

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 TextInputStart.

Platí pro

Viz také