ControlDesigner.OnGiveFeedback(GiveFeedbackEventArgs) 方法

定义

在进行拖放操作时接收调用,以在拖动操作进行的同时基于鼠标的位置提供可视提示。Receives a call when a drag-and-drop operation is in progress to provide visual cues based on the location of the mouse while a drag operation is in progress.

protected:
 virtual void OnGiveFeedback(System::Windows::Forms::GiveFeedbackEventArgs ^ e);
protected virtual void OnGiveFeedback (System.Windows.Forms.GiveFeedbackEventArgs e);
abstract member OnGiveFeedback : System.Windows.Forms.GiveFeedbackEventArgs -> unit
override this.OnGiveFeedback : System.Windows.Forms.GiveFeedbackEventArgs -> unit
Protected Overridable Sub OnGiveFeedback (e As GiveFeedbackEventArgs)

参数

e
GiveFeedbackEventArgs

为事件提供数据的 GiveFeedbackEventArgsA GiveFeedbackEventArgs that provides data for the event.

注解

当发生 OLE 拖动事件时,设计器宿主将调用此方法。The designer host calls this method when an OLE drag event occurs.

适用于