XamlLanguage.FactoryMethod Property

.NET Framework (current version)
 

Gets a XamlDirective that identifies a factory method for XAML.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public static XamlDirective FactoryMethod { get; }

Property Value

Type: System.Xaml.XamlDirective

A XamlDirective that identifies a factory method for XAML.

A factory method is a XAML2009 feature for identifying an alternative technique that constructs the underlying type for a XAML type. The default technique, if a factory method is unavailable, is to try to find a default constructor, and then try to find an identified type converter on type, member, or destination type.

.NET Framework
Available since 4.0
Return to top
Show: