共用方式為


DataObject.RemoveSettingDataHandler 方法

定義

從所指定相依性物件中移除 SettingData 事件處理常式。

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)

參數

element
DependencyObject

要從中移除事件處理常式的相依性物件 (UIElementContentElement)。

handler
DataObjectSettingDataEventHandler

委派,參考處理常式方法以移除。

適用於

另請參閱