root / trunk / Pithos.Client.WPF / Shell / MiniStatusView.xaml @ 2341c603
History | View | Annotate | Download (1.8 kB)
1 |
<Window x:Class="Pithos.Client.WPF.Shell.MiniStatusView" |
---|---|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
|
5 |
Title="Pithos+ Status" Height="100" Width="250" WindowStyle="ToolWindow" Topmost="True" Icon="/PithosPlus;component/Images/PithosTaskbar.png" WindowStartupLocation="CenterOwner" xmlns:my="clr-namespace:Pithos.Client.WPF.Converters"> |
6 |
<Window.Resources> |
7 |
<my:ImageNameToImageConverter x:Key="PathToImage" /> |
8 |
</Window.Resources> |
9 |
<Border HorizontalAlignment="Stretch" |
10 |
VerticalAlignment="Stretch" CornerRadius="2"> |
11 |
<Grid> |
12 |
<Grid.ColumnDefinitions> |
13 |
<ColumnDefinition Width="Auto"/> |
14 |
<ColumnDefinition/> |
15 |
<ColumnDefinition Width="Auto"/> |
16 |
</Grid.ColumnDefinitions> |
17 |
<Grid.RowDefinitions> |
18 |
<RowDefinition /> |
19 |
<RowDefinition Height="Auto"/> |
20 |
</Grid.RowDefinitions> |
21 |
<Image Grid.Column="0" Grid.RowSpan="2" Width="48" Height="48" HorizontalAlignment="Right" Margin="0,5,5,0" VerticalAlignment="Top" Source="/PithosPlus;component/Images/PithosTaskbar.png" Stretch="Fill" Opacity="0.7" ToolTip="Close Balloon" /> |
22 |
<TextBlock TextWrapping="Wrap" x:Name="Status" |
23 |
HorizontalAlignment="Stretch" |
24 |
VerticalAlignment="Stretch" Grid.Column="1" Grid.RowSpan="2" Margin="2,5,2,2"/> |
25 |
<Button Grid.Column="2" Grid.Row="1" x:Name="ToggleSyncing" |
26 |
ToolTip="{Binding PauseToolTip}" > |
27 |
<Image Source="{Binding Path=PauseImage, Converter={StaticResource PathToImage},FallbackValue='Pause.png'}" |
28 |
Stretch="Uniform" Height="16"/> |
29 |
</Button> |
30 |
</Grid> |
31 |
</Border> |
32 |
</Window> |