Windows Presentation Foundation Designer Extensibility for Visual Studio
ModelFactory Class

Used to create instances of model items in the designer.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax

Visual Basic (Declaration)
Public NotInheritable Class ModelFactory
Visual Basic (Usage)
You do not need to declare an instance of a static class in order to access its members.
C#
public static class ModelFactory
Visual C++
public ref class ModelFactory abstract sealed
JScript
public final class ModelFactory
Remarks

ModelFactory is designed to be a static API for convenience. The underlying implementation of this API simply calls the CreateItem method of ModelService.

Inheritance Hierarchy

System..::.Object
  Microsoft.Windows.Design.Model..::.ModelFactory
Thread Safety

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

Reference

Other Resources

Tags :


Page view tracker