WorkflowDesignerMessageFilter.OnMouseCaptureChanged Metodo

Definizione

Si verifica quando gli elementi selezionati trascinando il mouse subiscono modifiche.

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

Restituisce

true se il messaggio è stato gestito. In caso contrario, false.

Esempio

Nell'esempio di codice seguente viene illustrato come eseguire l'override del metodo OnMouseCaptureChanged per restituire false in modo che altri componenti dell'architettura della finestra di progettazione possano elaborare il metodo.

Questo esempio di codice è parte dell'esempio SDK Basic DesignerHosting nel file DesignerShell.cs. Per altre informazioni, vedere Hosting Designer basic.

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

Commenti

OnMouseCaptureChanged si verifica quando gli elementi selezionati trascinando il mouse subiscono modifiche.

Si applica a

Vedi anche