Revision 71374945 trunk/Pithos.OFM/FileManagerView.xaml

b/trunk/Pithos.OFM/FileManagerView.xaml
74 74
                <r:RibbonGroup Header="Accounts">
75 75
                    <r:RibbonComboBox IsEditable="True"   Text="{Binding CurrentAccount.AccountName}" >
76 76
                        <r:RibbonGallery SelectedItem="{Binding CurrentAccount}" DisplayMemberPath="AccountName">
77
                            <r:RibbonGalleryCategory ItemsSource="{Binding Accounts}" DisplayMemberPath="AccountName"  ></r:RibbonGalleryCategory>
77
                            <r:RibbonGalleryCategory ItemsSource="{Binding Accounts}" DisplayMemberPath="DisplayName"  ></r:RibbonGalleryCategory>
78 78
                        </r:RibbonGallery>
79 79
                        </r:RibbonComboBox>
80 80
                </r:RibbonGroup>
......
96 96
                <r:RibbonContextualTabGroup Header="Cloud Files" Visibility="{Binding IsCloudSelected, Converter={StaticResource BooleanToVisibilityConverter}}"></r:RibbonContextualTabGroup>
97 97
            </r:Ribbon.ContextualTabGroups>
98 98
        </r:Ribbon>
99
        <xctk:BusyIndicator Grid.Row="1" Grid.Column="0"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsBusy="{Binding IsLocalBusy}" 
100
                            BusyContent="{Binding LocalBusyMessage}" >
101
            <TreeView Name="LocalFiles" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" 
102
                      cal:Message.Attach="[Event SelectedItemChanged] = [Action SelectLocalFile($eventArgs)]">
103
            <TreeView.Resources>
104
                <HierarchicalDataTemplate DataType="{x:Type local:DirectoryRecord}" ItemsSource="{Binding Infos}">
105
                    <StackPanel Orientation="Horizontal">
106
                            <Image Source="Images/Icons/Folder.ico" MaxWidth="16" MaxHeight="16" Margin="1" Stretch="Uniform" />
107
                        <TextBlock x:Name="Name" Text="{Binding Info.Name}"/>
108
                    </StackPanel>
109
                </HierarchicalDataTemplate>
110
                <HierarchicalDataTemplate DataType="{x:Type local:FileRecord}" >
111
                    <StackPanel Orientation="Horizontal">                        
112
                        <TextBlock x:Name="Name" Margin="16,0,0,0" Text="{Binding Info.Name}"/>
113
                    </StackPanel>
114
                </HierarchicalDataTemplate>
115
            </TreeView.Resources>
116
        </TreeView>
117
        </xctk:BusyIndicator>
99
        <ContentControl x:Name="LocalFiles" Grid.Row="1" Grid.Column="0"  ></ContentControl>
118 100
        <GridSplitter VerticalAlignment="Stretch" Grid.Column="1" Grid.Row="1" Width="5" 
119 101
                      ResizeDirection="Columns" ResizeBehavior="PreviousAndNext"
120 102
                      ></GridSplitter>
121
        <xctk:BusyIndicator Grid.Row="1" Grid.Column="2"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsBusy="{Binding IsCloudBusy}" 
122
                            BusyContent="{Binding CloudBusyMessage}" >
123
            <TreeView Name="CloudInfos" Grid.Row="1" Grid.Column="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" 
124
                      cal:Message.Attach="[Event SelectedItemChanged] = [Action SelectCloudFile($eventArgs)]">
125
            <TreeView.ItemTemplate>
126
                    <HierarchicalDataTemplate DataType="{x:Type local:ObjectRecord}" ItemsSource="{Binding Directories}">
127
                        <StackPanel Orientation="Horizontal">
128
                            <TextBlock x:Name="Name" Margin="5,0,0,0" Text="{Binding DisplayName}"/>
129
                        </StackPanel>
130
                    </HierarchicalDataTemplate>
131
            </TreeView.ItemTemplate>
132
        </TreeView>
133
        </xctk:BusyIndicator>
103
        <ContentControl x:Name="CloudFiles" Grid.Row="1" Grid.Column="2"  ></ContentControl>
134 104
    <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.ColumnSpan="3" Margin="5">
135 105
        <TextBlock >Operation Progress ...</TextBlock><ProgressBar Margin =" 5,0" Value="20" HorizontalAlignment="Left" Width="150"></ProgressBar>
136 106
    </StackPanel>

Also available in: Unified diff