WorkflowDesignerMessageFilter.OnMouseUp(MouseEventArgs) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
마우스 단추를 놓을 때 발생합니다.
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은 마우스 단추를 놓을 때 발생합니다.
적용 대상
추가 정보
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET