|
|
|
@ -255,6 +255,36 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
@@ -255,6 +255,36 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
|
|
|
|
|
xmlns:t=""" + XamlTypeFinderTests.XamlDomTestsNamespace + @""" |
|
|
|
|
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml""
|
|
|
|
|
ObjectProp=""{x:Null}""> |
|
|
|
|
</t:ExampleClass> |
|
|
|
|
");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void ExampleClassObjectPropWithExplicitMarkupExtension() |
|
|
|
|
{ |
|
|
|
|
TestLoading(@"
|
|
|
|
|
<t:ExampleClass |
|
|
|
|
xmlns=""http://schemas.microsoft.com/netfx/2007/xaml/presentation""
|
|
|
|
|
xmlns:t=""" + XamlTypeFinderTests.XamlDomTestsNamespace + @""" |
|
|
|
|
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">
|
|
|
|
|
<t:ExampleClass.ObjectProp> |
|
|
|
|
<x:Type TypeName=""t:ExampleClass""/> |
|
|
|
|
</t:ExampleClass.ObjectProp> |
|
|
|
|
</t:ExampleClass> |
|
|
|
|
");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void ExampleClassObjectPropWithExplicitMarkupExtension2() |
|
|
|
|
{ |
|
|
|
|
TestLoading(@"
|
|
|
|
|
<t:ExampleClass |
|
|
|
|
xmlns=""http://schemas.microsoft.com/netfx/2007/xaml/presentation""
|
|
|
|
|
xmlns:t=""" + XamlTypeFinderTests.XamlDomTestsNamespace + @""" |
|
|
|
|
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">
|
|
|
|
|
<t:ExampleClass.ObjectProp> |
|
|
|
|
<x:TypeExtension TypeName=""t:ExampleClass""/> |
|
|
|
|
</t:ExampleClass.ObjectProp> |
|
|
|
|
</t:ExampleClass> |
|
|
|
|
");
|
|
|
|
|
} |
|
|
|
|