|
|
|
|
@ -127,7 +127,7 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
@@ -127,7 +127,7 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void Resources() |
|
|
|
|
public void Resources1() |
|
|
|
|
{ |
|
|
|
|
TestLoading(@"<Page Name=""root""
|
|
|
|
|
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
|
|
|
|
|
@ -179,6 +179,23 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
@@ -179,6 +179,23 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
|
|
|
|
|
</UserControl>");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void Resources5() |
|
|
|
|
{ |
|
|
|
|
TestLoading(@"<UserControl
|
|
|
|
|
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
|
|
|
|
|
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">
|
|
|
|
|
<UserControl.Resources> |
|
|
|
|
<ResourceDictionary> |
|
|
|
|
<ResourceDictionary.MergedDictionaries> |
|
|
|
|
<ResourceDictionary Source=""/ICSharpCode.WpfDesign.Tests;component/Test.xaml"" /> |
|
|
|
|
</ResourceDictionary.MergedDictionaries > |
|
|
|
|
</ResourceDictionary> |
|
|
|
|
</UserControl.Resources> |
|
|
|
|
</UserControl>");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void Animation1() |
|
|
|
|
{ |
|
|
|
|
@ -343,6 +360,25 @@ bb
@@ -343,6 +360,25 @@ bb
|
|
|
|
|
</Window>");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void ListBox2() |
|
|
|
|
{ |
|
|
|
|
TestLoading(@"<Window
|
|
|
|
|
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
|
|
|
|
|
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">
|
|
|
|
|
<Canvas> |
|
|
|
|
<ListBox ScrollViewer.VerticalScrollBarVisibility=""Hidden""> |
|
|
|
|
<ListBox.ItemContainerStyle> |
|
|
|
|
<Style TargetType=""{x:Type ListBoxItem}""> |
|
|
|
|
<Setter Property=""Width"" Value=""10"" /> |
|
|
|
|
</Style> |
|
|
|
|
</ListBox.ItemContainerStyle> |
|
|
|
|
aa |
|
|
|
|
bb |
|
|
|
|
</ListBox> |
|
|
|
|
</Canvas> |
|
|
|
|
</Window>");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
|
public void CData1() |
|
|
|
|
|