WorkflowDesignerMessageFilter.OnMouseCaptureChanged 메서드

정의

마우스를 끌어 선택한 항목이 변경되면 발생합니다.

protected:
 virtual bool OnMouseCaptureChanged();
protected virtual bool OnMouseCaptureChanged ();
abstract member OnMouseCaptureChanged : unit -> bool
override this.OnMouseCaptureChanged : unit -> bool
Protected Overridable Function OnMouseCaptureChanged () As Boolean

반환

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

예제

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

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

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

설명

OnMouseCaptureChanged는 마우스를 끌어 선택한 항목이 변경되면 발생합니다.

적용 대상

추가 정보