Edit

Share via


WorkflowDesignerMessageFilter Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Provides a base class for all workflow message filters.

public ref class WorkflowDesignerMessageFilter abstract : IDisposable
public abstract class WorkflowDesignerMessageFilter : IDisposable
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class WorkflowDesignerMessageFilter : IDisposable
type WorkflowDesignerMessageFilter = class
    interface IDisposable
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowDesignerMessageFilter = class
    interface IDisposable
Public MustInherit Class WorkflowDesignerMessageFilter
Implements IDisposable
Inheritance
WorkflowDesignerMessageFilter
Attributes
Implements

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

The workflow designer provides a Strategy design pattern to create replaceable message filter objects to handle events.

Derive from the WorkflowDesignerMessageFilter class to create message filters that can respond to workflow designer events, such as drag operations, layout and paint operations, and other designer events. To add a custom message filter to the message filters chain, call the AddDesignerMessageFilter on the WorkflowView or override the MessageFilters virtual property on the custom root activity and add the custom message filter to the collection returned from the base class.

Constructors

WorkflowDesignerMessageFilter()

When implemented in a derived class, initializes an instance of a WorkflowDesignerMessageFilter.

Properties

MessageHitTestContext

Gets the HitTestInfo that describes the context of the WorkflowDesignerMessageFilter.

ParentView

Gets the WorkflowView that is associated with the WorkflowDesignerMessageFilter.

Methods

Dispose()

Releases the resources used by the WorkflowDesignerMessageFilter.

Dispose(Boolean)

Releases the unmanaged resources used by the WorkflowDesignerMessageFilter and optionally releases the managed resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize()

Attempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(WorkflowView)

Initializes the WorkflowDesignerMessageFilter with the associated WorkflowView.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnDragDrop(DragEventArgs)

Occurs when the mouse button is released above an object during a drag operation.

OnDragEnter(DragEventArgs)

Occurs when the mouse pointer enters the bounds of an object during a drag operation.

OnDragLeave()

Occurs when the mouse pointer leaves the bounds of an object during a drag operation.

OnDragOver(DragEventArgs)

Occurs when the mouse pointer moves within the bounds of an object during a drag operation.

OnGiveFeedback(GiveFeedbackEventArgs)

Occurs during a drag operation.

OnKeyDown(KeyEventArgs)

Occurs when a key is pressed.

OnKeyUp(KeyEventArgs)

Occurs when a key is released.

OnLayout(LayoutEventArgs)

Occurs when child objects should be repositioned.

OnMouseCaptureChanged()

Occurs when the items selected by dragging the mouse changes.

OnMouseDoubleClick(MouseEventArgs)

Occurs when you double-click the mouse.

OnMouseDown(MouseEventArgs)

Occurs when a mouse button is clicked.

OnMouseEnter(MouseEventArgs)

Occurs when the mouse pointer enters the bounds of an object.

OnMouseHover(MouseEventArgs)

Occurs when the mouse pointer pauses above an object.

OnMouseLeave()

Occurs when the mouse pointer leaves the bounds of an object.

OnMouseMove(MouseEventArgs)

Occurs when the mouse pointer moves while within the bounds of an object.

OnMouseUp(MouseEventArgs)

Occurs when the mouse button is released.

OnMouseWheel(MouseEventArgs)

Occurs when the mouse wheel moves.

OnPaint(PaintEventArgs, Rectangle, AmbientTheme)

Occurs when a paint message is received.

OnPaintWorkflowAdornments(PaintEventArgs, Rectangle, AmbientTheme)

Occurs when the workflow should repaint its adornments.

OnQueryContinueDrag(QueryContinueDragEventArgs)

Occurs during a drag operation.

OnScroll(ScrollBar, Int32)

Occurs when a user scrolls in a workflow designer.

OnShowContextMenu(Point)

Occurs when the workflow should show a context menu.

OnThemeChange()

Occurs when the theme of the workflow changes.

ProcessMessage(Message)

Occurs when a raw Win32 message must be processed.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to