Modified MessageView.xaml to display exception details expanded by default when the...
authorPanagiotis Kanavos <pkanavos@gmail.com>
Sun, 19 Feb 2012 17:05:39 +0000 (19:05 +0200)
committerPanagiotis Kanavos <pkanavos@gmail.com>
Sun, 19 Feb 2012 17:05:39 +0000 (19:05 +0200)
trunk/Pithos.Client.WPF/Shell/MessageView.xaml

index b39337d..013cdc1 100644 (file)
@@ -33,7 +33,7 @@
             <ListBox  ItemsSource="{Binding Path=UserMessages}" Grid.Row="2" Visibility="{Binding ElementName=ShowDetails, Path=IsChecked, Converter={StaticResource BoolToVisible}}" >
             <ListBox.ItemTemplate>
                 <DataTemplate>
-                    <Expander Header="{Binding Message,FallbackValue='Seems we have a problem'}" FontWeight="Bold">
+                    <Expander Header="{Binding Message,FallbackValue='Seems we have a problem'}" FontWeight="Bold" IsExpanded="true">
                         <TextBlock Text="{Binding Details,FallbackValue='This is a message'}" FontWeight="Normal" TextWrapping="Wrap" />
                     </Expander>
                 </DataTemplate>