XamlObjectWriter.SchemaContext Property

Definition

Gets the active XAML schema context.

public:
 virtual property System::Xaml::XamlSchemaContext ^ SchemaContext { System::Xaml::XamlSchemaContext ^ get(); };
public override System.Xaml.XamlSchemaContext SchemaContext { get; }
member this.SchemaContext : System.Xaml.XamlSchemaContext
Public Overrides ReadOnly Property SchemaContext As XamlSchemaContext

Property Value

The XAML schema context.

Remarks

XAML schema context is a necessary information source for most practical object-writing scenarios. The XAML schema context influences the type lookup for backing types and holds information about the assemblies where backing types exist. The default XAML schema context is based on CLR type-mapping rules. Frameworks typically provide their own XAML schema context in order to assure that the assembly-loading mechanisms match the framework's programming amd application models.

Applies to