Bagikan melalui


Binding.RemoveTargetUpdatedHandler Metode

Definisi

Menghapus handler untuk kejadian terlampir TargetUpdated .

public:
 static void RemoveTargetUpdatedHandler(System::Windows::DependencyObject ^ element, EventHandler<System::Windows::Data::DataTransferEventArgs ^> ^ handler);
public static void RemoveTargetUpdatedHandler (System.Windows.DependencyObject element, EventHandler<System.Windows.Data.DataTransferEventArgs> handler);
static member RemoveTargetUpdatedHandler : System.Windows.DependencyObject * EventHandler<System.Windows.Data.DataTransferEventArgs> -> unit
Public Shared Sub RemoveTargetUpdatedHandler (element As DependencyObject, handler As EventHandler(Of DataTransferEventArgs))

Parameter

element
DependencyObject

UIElement atau ContentElement yang mendengarkan acara.

handler
EventHandler<DataTransferEventArgs>

Handler yang akan dihapus.

Keterangan

Metode ini mendukung penggunaan peristiwa terlampir di XAML.

Berlaku untuk