ModelFactory Class

.NET Framework (current version)
 

Creates instances of ModelItem objects in the designer.

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

System::Object
  System.Activities.Presentation.Model::ModelFactory

public ref class ModelFactory abstract sealed 

NameDescription
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, array<Object^>^)

Creates a new ModelItem for the given item type.

System_CAPS_pubmethodSystem_CAPS_staticCreateItem(EditingContext^, Type^, array<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
Show: