-
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #34 - Markup extension formatting does work as expected when ne…
…sted
- Loading branch information
Dave Grochocki
committed
Dec 13, 2016
1 parent
b7c776d
commit 1e09904
Showing
9 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
XamlStyler.UnitTests/TestFiles/TestNestedCustomMarkupExtensionsWithBindings.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Window | ||
x:Class="WpfApplication.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:WpfApplication" | ||
Title="MainWindow"> | ||
<Grid> | ||
<Button | ||
Content="Click Me" | ||
Foreground="Black" | ||
IsEnabled="{LogicalAnd {Binding IsWritable}, | ||
{Binding ElementName=CheckBox, Path=IsChecked}, | ||
{CustomMarkupExtension ElementName=CheckBox, | ||
Path=IsChecked}}" /> | ||
</Grid> | ||
</Window> |
13 changes: 13 additions & 0 deletions
13
XamlStyler.UnitTests/TestFiles/TestNestedCustomMarkupExtensionsWithBindings.testxaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Window | ||
x:Class="WpfApplication.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:WpfApplication" | ||
Title="MainWindow"> | ||
<Grid> | ||
<Button | ||
Content="Click Me" | ||
Foreground="Black" | ||
IsEnabled="{LogicalAnd {Binding IsWritable}, {Binding ElementName=CheckBox, Path=IsChecked}, {CustomMarkupExtension ElementName=CheckBox, Path=IsChecked}}" /> | ||
</Grid> | ||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters