AxHost.QueryContinueDrag 事件

定义

AxHost 类不支持 QueryContinueDrag 事件。The QueryContinueDrag event is not supported by the AxHost class.

public:
 event System::Windows::Forms::QueryContinueDragEventHandler ^ QueryContinueDrag;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag;
member this.QueryContinueDrag : System.Windows.Forms.QueryContinueDragEventHandler 
Public Custom Event QueryContinueDrag As QueryContinueDragEventHandler 
属性

注解

如果尝试添加或移除QueryContinueDrag事件的处理程序NotSupportedException ,则会引发。If you attempt to add or remove a handler for the QueryContinueDrag event, a NotSupportedException is thrown. AxHost类不支持派生自Control类的事件。The events derived from the Control class are not supported by the AxHost class. 创建AxHost包装时,ActiveX 控件公开的事件是应使用的事件。The events exposed by the ActiveX control when the AxHost wrapper is created are the events that should be used.

适用于