Revision 1e26eceb trunk/Pithos.Client.WPF/Preferences/PreferencesView.xaml
b/trunk/Pithos.Client.WPF/Preferences/PreferencesView.xaml | ||
---|---|---|
17 | 17 |
<ResourceDictionary Source="..\PithosStyles.xaml" /> |
18 | 18 |
</ResourceDictionary.MergedDictionaries> |
19 | 19 |
<Converters:NullToVisibilityConverter x:Key="NullToVisible" /> |
20 |
<BooleanToVisibilityConverter x:Key="BoolToVisible" /> |
|
20 | 21 |
</ResourceDictionary> |
21 | 22 |
</Window.Resources> |
22 | 23 |
<!-- <Window.TaskbarItemInfo> |
... | ... | |
70 | 71 |
<ListBox Name="Accounts" Grid.Row="0" VerticalAlignment="Stretch" ItemsSource="{Binding Accounts,Mode=OneWay}" SelectedItem="{Binding CurrentAccount,Mode=TwoWay}" > |
71 | 72 |
<ListBox.ItemTemplate> |
72 | 73 |
<DataTemplate> |
74 |
<StackPanel Orientation="Horizontal"> |
|
75 |
<Image Visibility="{Binding Converter={StaticResource BoolToVisible}, Path=IsExpired}" Source="/Pithos.Client.WPF;component/Images/SmallWarning.png" Margin="2,0"/> |
|
73 | 76 |
<TextBlock Text="{Binding AccountName}" /> |
77 |
</StackPanel> |
|
74 | 78 |
</DataTemplate> |
75 | 79 |
</ListBox.ItemTemplate> |
76 | 80 |
</ListBox> |
Also available in: Unified diff