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

'Declaration
Public NotInheritable Class ModelFactory
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class ModelFactory
public ref class ModelFactory abstract sealed
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

ModelFactory Members

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility