Supports the creation of templates.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Thetype exposes the following members.
|FrameworkElementFactory||Initializes a new instance of the class.|
|FrameworkElementFactory(String)||Initializes a new instance of the class with the specified text to produce.|
|FrameworkElementFactory(Type)||Initializes a new instance of the class with the specified Type.|
|FrameworkElementFactory(Type, String)||Initializes a new instance of the class with the specified Type and name.|
|FirstChild||Gets the first child factory.|
|IsSealed||Gets a value that indicates whether this object is in an immutable state.|
|Name||Gets or sets the name of a template item.|
|NextSibling||Gets the next sibling factory.|
|Parent||Gets the parent .|
|Text||Gets or sets the text string to produce.|
|Type||Gets or sets the type of the objects this factory produces.|
|AddHandler(RoutedEvent, Delegate)||Adds an event handler for the given routed event to the instances created by this factory.|
|AddHandler(RoutedEvent, Delegate, Boolean)||Adds an event handler for the given routed event to the instances created by this factory, with the option of having the provided handler be invoked even in cases of routed events that had already been marked as handled by another element along the route.|
|AppendChild||Adds a child factory to this factory.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|RemoveHandler||Removes an event handler from the given routed event. This applies to the instances created by this factory.|
|SetBinding||Sets up data binding on a property.|
|SetResourceReference||Set up a dynamic resource reference on a child property.|
|SetValue||Sets the value of a dependency property.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
This class is a deprecated way to programmatically create templates, which are subclasses of FrameworkTemplate such as ControlTemplate or DataTemplate; not all of the template functionality is available when you create a template using this class. The recommended way to programmatically create a template is to load XAML from a string or a memory stream using the Load method of the XamlReader class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.