Dela via


IMarkupProjectContext.ParentModelResources Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets a resource list that is used to resolve resource references during the tree load in order to handle finding resources defined in another tree.

Namespace:  Microsoft.Windows.Design.Documents
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
ReadOnly Property ParentModelResources As IEnumerable(Of ModelResource)
'Usage
Dim instance As IMarkupProjectContext 
Dim value As IEnumerable(Of ModelResource)

value = instance.ParentModelResources
IEnumerable<ModelResource> ParentModelResources { get; }
property IEnumerable<ModelResource^>^ ParentModelResources {
    IEnumerable<ModelResource^>^ get ();
}
function get ParentModelResources () : IEnumerable<ModelResource>

Property Value

Type: System.Collections.Generic.IEnumerable<ModelResource>
A resource list that is used to resolve resource references during the tree load.

Remarks

After load, this property is ignored as these are available through the ApplicationResources.

.NET Framework Security

See Also

Reference

IMarkupProjectContext Interface

IMarkupProjectContext Members

Microsoft.Windows.Design.Documents Namespace

Other Resources

WPF Designer Extensibility