Export (0) Print
Expand All

WorkflowViewService Class

.NET Framework 4.6 and 4.5

Handles the mapping of activity designer visual elements and their underlying model items.


Namespace:  System.Activities.Presentation.View
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public class WorkflowViewService : ViewService

The WorkflowViewService type exposes the following members.

Public methodWorkflowViewServiceCreates a new instance of the WorkflowViewService class that uses the specified EditingContext.

Protected methodCreateViewElementCreates a new WorkflowViewElement that supports the type of the specified ModelItem.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetModelReturns a ModelItem that maps to the specified DependencyObject. (Overrides ViewService.GetModel(DependencyObject).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetViewCreates a new DependencyObject that maps to the specified ModelItem. (Overrides ViewService.GetView(ModelItem).)
Public methodGetViewElementCreates a new WorkflowViewElement that maps to the specified ModelItem.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventViewCreatedOccurs when the workflow view is created.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft