|
|
|
@ -244,6 +244,36 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
@@ -244,6 +244,36 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
|
|
|
|
|
</Window>");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void ContentControl1() |
|
|
|
|
{ |
|
|
|
|
TestLoading(@"<Window
|
|
|
|
|
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
|
|
|
|
|
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">
|
|
|
|
|
<Canvas> |
|
|
|
|
<ContentControl> |
|
|
|
|
<Grid /> |
|
|
|
|
</ContentControl> |
|
|
|
|
</Canvas> |
|
|
|
|
</Window>");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void ContentControl2() |
|
|
|
|
{ |
|
|
|
|
TestLoading(@"<Window
|
|
|
|
|
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
|
|
|
|
|
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">
|
|
|
|
|
<Canvas> |
|
|
|
|
<ContentControl> |
|
|
|
|
<ContentControl.Content> |
|
|
|
|
<Grid /> |
|
|
|
|
</ContentControl.Content> |
|
|
|
|
</ContentControl> |
|
|
|
|
</Canvas> |
|
|
|
|
</Window>");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void Children1() |
|
|
|
|
{ |
|
|
|
|