Behavior.OnMouseUp(Glyph, MouseButtons) 方法

定义

当任何鼠标悬停消息进入装饰器窗口 BehaviorService时调用。

public:
 virtual bool OnMouseUp(System::Windows::Forms::Design::Behavior::Glyph ^ g, System::Windows::Forms::MouseButtons button);
public virtual bool OnMouseUp(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.MouseButtons button);
public virtual bool OnMouseUp(System.Windows.Forms.Design.Behavior.Glyph? g, System.Windows.Forms.MouseButtons button);
abstract member OnMouseUp : System.Windows.Forms.Design.Behavior.Glyph * System.Windows.Forms.MouseButtons -> bool
override this.OnMouseUp : System.Windows.Forms.Design.Behavior.Glyph * System.Windows.Forms.MouseButtons -> bool
Public Overridable Function OnMouseUp (g As Glyph, button As MouseButtons) As Boolean

参数

g
Glyph

Glyph

button
MouseButtons

一个 MouseButtons 值,指示单击了哪个按钮。

返回

true 如果处理了消息,则为 ;否则,为 false.

注解

OnMouseDoubleClick当任何鼠标悬停消息进入WndProc装饰器窗口BehaviorService时,将调用此方法。 消息首先会传递到行为堆栈中的最 Behavior 顶层。 true从此方法返回表示消息由Behavior该消息处理,不应继续处理。 在此处,消息将发送到相应的行为。

适用于

另请参阅