DataObject.RemoveCopyingHandler 方法

定义

从指定的依赖对象中删除 Copying 事件处理程序。

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

参数

element
DependencyObject

要从中删除事件处理程序的依赖对象(UIElementContentElement)。

handler
DataObjectCopyingEventHandler

要移除的引用处理程序方法的委托。

适用于

另请参阅