TextCompositionManager.AddTextInputUpdateHandler Metoda

Definicja

Dodaje procedurę obsługi dla dołączonego TextInputUpdate zdarzenia.

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

Parametry

element
DependencyObject

Obiekt zależności, do który ma zostać dodany program obsługi zdarzeń. Obiekt zależności musi być obiektem UIElementContentElementlub .

handler
TextCompositionEventHandler

Delegat, który wyznacza procedurę obsługi do dodania.

Uwagi

Ta metoda dodaje procedurę obsługi dla wersji bubbling tego zdarzenia. Aby uzyskać informacje o wersji tunelowania tego zdarzenia, zobacz PreviewTextInputUpdate.

Dotyczy

Zobacz też