mirror of https://github.com/icsharpcode/ILSpy.git
9 changed files with 93 additions and 2330 deletions
@ -0,0 +1,24 @@ |
|||||||
|
<Window x:Class="ILSpy.BamlDecompiler.Tests.Cases.Issue1547" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:ILSpy.BamlDecompiler.Tests.Cases" Title="Issue1547" Height="450" Width="800"> |
||||||
|
<Grid> |
||||||
|
<Grid.RowDefinitions> |
||||||
|
<RowDefinition /> |
||||||
|
<RowDefinition /> |
||||||
|
</Grid.RowDefinitions> |
||||||
|
<Button> |
||||||
|
<FrameworkElement.Style> |
||||||
|
<Style TargetType="{x:Type Button}"> |
||||||
|
<Setter Property="Grid.Row" Value="1" /> |
||||||
|
<Setter Property="Content" Value="World!" /> |
||||||
|
</Style> |
||||||
|
</FrameworkElement.Style> |
||||||
|
</Button> |
||||||
|
<Button> |
||||||
|
<FrameworkElement.Style> |
||||||
|
<Style TargetType="{x:Type Button}"> |
||||||
|
<Setter Property="Grid.Row" Value="0" /> |
||||||
|
<Setter Property="Content" Value="Hello" /> |
||||||
|
</Style> |
||||||
|
</FrameworkElement.Style> |
||||||
|
</Button> |
||||||
|
</Grid> |
||||||
|
</Window> |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
using System; |
||||||
|
using System.Collections.Generic; |
||||||
|
using System.Linq; |
||||||
|
using System.Text; |
||||||
|
using System.Threading.Tasks; |
||||||
|
using System.Windows; |
||||||
|
using System.Windows.Controls; |
||||||
|
using System.Windows.Data; |
||||||
|
using System.Windows.Documents; |
||||||
|
using System.Windows.Input; |
||||||
|
using System.Windows.Media; |
||||||
|
using System.Windows.Media.Imaging; |
||||||
|
using System.Windows.Shapes; |
||||||
|
|
||||||
|
namespace ILSpy.BamlDecompiler.Tests.Cases |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for Issue1547.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class Issue1547 : Window |
||||||
|
{ |
||||||
|
public Issue1547() |
||||||
|
{ |
||||||
|
InitializeComponent(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue