Browse Source

One more Template Test

pull/593/head
jogibear9988 11 years ago
parent
commit
eb932cf5c7
  1. 23
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs

23
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SamplesTests.cs

@ -481,6 +481,29 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom @@ -481,6 +481,29 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
</Canvas>
</Window>");
}
[Test]
public void Template1()
{
TestLoading(@"<Window xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">
<Canvas>
<Button Content=""Button""
Width=""75""
Height=""23"">
<Button.Template>
<ControlTemplate TargetType=""Button"">
<Grid HorizontalAlignment=""Left"">
<Rectangle />
<TextBlock Text=""AA"" />
</Grid>
</ControlTemplate>
</Button.Template>
</Button>
</Canvas>
</Window>");
}
[Test]
public void ListBox1()

Loading…
Cancel
Save