root / trunk / Pithos.OFM / CloudFilesView.xaml @ 71374945
History | View | Annotate | Download (1.8 kB)
1 | c5ffc01d | pkanavos | <UserControl x:Class="Pithos.OFM.CloudFilesView" |
---|---|---|---|
2 | c5ffc01d | pkanavos | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | c5ffc01d | pkanavos | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | c5ffc01d | pkanavos | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 | c5ffc01d | pkanavos | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Pithos.OFM" |
6 | c5ffc01d | pkanavos | xmlns:cal="clr-namespace:Caliburn.Micro;assembly=Caliburn.Micro" |
7 | 71374945 | pkanavos | xmlns:xctk="clr-namespace:Xceed.Wpf.Toolkit;assembly=WPFToolkit.Extended" |
8 | c5ffc01d | pkanavos | mc:Ignorable="d" |
9 | c5ffc01d | pkanavos | d:DesignHeight="300" d:DesignWidth="300"> |
10 | c5ffc01d | pkanavos | <Grid> |
11 | 71374945 | pkanavos | <Grid.RowDefinitions> |
12 | 71374945 | pkanavos | <RowDefinition Height="Auto"/> |
13 | 71374945 | pkanavos | <RowDefinition/> |
14 | 71374945 | pkanavos | <RowDefinition Height="Auto"/> |
15 | 71374945 | pkanavos | </Grid.RowDefinitions> |
16 | 71374945 | pkanavos | <TextBlock Grid.Row="0" >Pithos</TextBlock> |
17 | 71374945 | pkanavos | <xctk:BusyIndicator Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsBusy="{Binding IsCloudBusy}" |
18 | 71374945 | pkanavos | BusyContent="{Binding CloudBusyMessage}" > |
19 | 71374945 | pkanavos | |
20 | 71374945 | pkanavos | <TreeView Name="CloudInfos" Grid.Row="1" Grid.Column="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
21 | c5ffc01d | pkanavos | cal:Message.Attach="[Event SelectedItemChanged] = [Action SelectCloudFile($eventArgs)]"> |
22 | c5ffc01d | pkanavos | <TreeView.ItemTemplate> |
23 | c5ffc01d | pkanavos | <HierarchicalDataTemplate DataType="{x:Type local:ObjectRecord}" ItemsSource="{Binding Directories}"> |
24 | c5ffc01d | pkanavos | <StackPanel Orientation="Horizontal"> |
25 | c5ffc01d | pkanavos | <TextBlock x:Name="Name" Margin="5,0,0,0" Text="{Binding DisplayName}"/> |
26 | c5ffc01d | pkanavos | </StackPanel> |
27 | c5ffc01d | pkanavos | </HierarchicalDataTemplate> |
28 | c5ffc01d | pkanavos | </TreeView.ItemTemplate> |
29 | c5ffc01d | pkanavos | </TreeView> |
30 | 71374945 | pkanavos | </xctk:BusyIndicator> |
31 | c5ffc01d | pkanavos | </Grid> |
32 | c5ffc01d | pkanavos | </UserControl> |