summaryrefslogtreecommitdiff
path: root/src/MVPtoMVVM.mvvm/MainWindow.xaml
diff options
context:
space:
mode:
authorJason Lepp <jlepp@arcresources.com>2010-11-05 10:22:58 -0600
committerJason Lepp <jlepp@arcresources.com>2010-11-05 10:22:58 -0600
commitdc521b38304846c4058f099cb3aed6efc05d57bb (patch)
treeaea7b0e5a93cc1ddc4c1e1901900063a9136fe14 /src/MVPtoMVVM.mvvm/MainWindow.xaml
parent5d4fcd1e2dfd8b673b7bc4af43cab770d2b622a3 (diff)
Update synchronizer per lagattack's suggestionsHEADmaster
Diffstat (limited to 'src/MVPtoMVVM.mvvm/MainWindow.xaml')
-rw-r--r--src/MVPtoMVVM.mvvm/MainWindow.xaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MVPtoMVVM.mvvm/MainWindow.xaml b/src/MVPtoMVVM.mvvm/MainWindow.xaml
index fc1ec2a..5fabe37 100644
--- a/src/MVPtoMVVM.mvvm/MainWindow.xaml
+++ b/src/MVPtoMVVM.mvvm/MainWindow.xaml
@@ -4,7 +4,6 @@
Title="MainWindow" Height="350" Width="525">
<DockPanel LastChildFill="False">
<DockPanel.Resources>
- <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
<Style x:Key="ValidationStyle" TargetType="Control">
<Style.Triggers>
<Trigger Property="Validation.HasError" Value="true">
@@ -19,7 +18,7 @@
<ListView.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
- <Image Source="alert.png" Visibility="{Binding Path=ShowDueSoonAlert, Converter={StaticResource BooleanToVisibilityConverter}, Mode=OneWay}"/>
+ <Image Source="alert.png" Visibility="{Binding Path=ShowDueSoonAlert, Mode=OneWay}"/>
<TextBox Width="200" Text="{Binding Path=Description, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged}" Style="{StaticResource ResourceKey=ValidationStyle}" />
<DatePicker SelectedDate="{Binding Path=DueDate, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged}" Style="{StaticResource ResourceKey=ValidationStyle}" />
<Button Content="Save" Command="{Binding Path=SaveCommand}"></Button>