ModelFactory Class

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates instances of ModelItem objects in the designer.

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


public static class ModelFactory

System_CAPS_pubmethodSystem_CAPS_staticCreateItem(EditingContext, Object)

Creates a new ModelItem by creating a deep copy of the instance provided.

System_CAPS_pubmethodSystem_CAPS_staticCreateItem(EditingContext, Type, CreateOptions, Object[])

Creates a new ModelItem for the given item type.

System_CAPS_pubmethodSystem_CAPS_staticCreateItem(EditingContext, Type, Object[])

Creates a new ModelItem for the given item type.

System_CAPS_pubmethodSystem_CAPS_staticCreateStaticMemberItem(EditingContext, Type, String)

Creates a new ModelItem that represents the value of a static member of the given class.

.NET Framework
Available since 4.0

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

Return to top