Editare

Partajați prin


DataObject.RemoveSettingDataHandler Method

Definition

Removes a SettingData event handler from a specified dependency object.

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

Parameters

element
DependencyObject

The dependency object (a UIElement or ContentElement) from which to remove the event handler.

handler
DataObjectSettingDataEventHandler

A delegate that references the handler method to remove.

Applies to

See also