WorkflowDesignerMessageFilter.OnMouseUp(MouseEventArgs) 메서드

정의

마우스 단추를 놓을 때 발생합니다.

protected:
 virtual bool OnMouseUp(System::Windows::Forms::MouseEventArgs ^ eventArgs);
protected virtual bool OnMouseUp (System.Windows.Forms.MouseEventArgs eventArgs);
abstract member OnMouseUp : System.Windows.Forms.MouseEventArgs -> bool
override this.OnMouseUp : System.Windows.Forms.MouseEventArgs -> bool
Protected Overridable Function OnMouseUp (eventArgs As MouseEventArgs) As Boolean

매개 변수

eventArgs
MouseEventArgs

이벤트에 대한 정보가 포함된 MouseEventArgs입니다.

반환

메시지가 처리되면 true이고, 그렇지 않으면 false입니다.

예제

다음 코드 예제에서는 스크롤 위치를 반환하고 OnMouseUp를 반환하도록 false 메서드를 재정의하여 디자이너 아키텍처 내의 다른 구성 요소가 메서드를 처리할 수 있도록 하는 방법을 보여 줍니다.

이 코드 예제는 DesignerShell.cs 파일에 있는 Basic Designer Hosting SDK 샘플의 일부입니다. 자세한 내용은 Basic Designer Hosting합니다.

protected override bool OnMouseUp(MouseEventArgs eventArgs)
{
    //Allow other components to process this event by not returning true.
    mouseDown = false;
    return false;
}
Protected Overrides Function OnMouseUp(ByVal eventArgs As MouseEventArgs) As Boolean
    ' Allow other components to process this event by not returning true.
    mouseDown = False
    Return False
End Function

설명

OnMouseUp은 마우스 단추를 놓을 때 발생합니다.

적용 대상

추가 정보