ItemsSource="{Binding Directories}" >
<StackPanel Orientation="Horizontal">
<CheckBox
- Focusable="False"
+ Focusable="False" IsThreeState="True"
IsChecked="{Binding IsChecked}"
VerticalAlignment="Center"
/>
</Window.Resources>
- <Grid>
+ <extToolkit:BusyIndicator Name="IsBusy" BusyContent="Retrieving folders ..." DisplayAfter="0">
+ <Grid>
<Grid.RowDefinitions>
+ <RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
- <extToolkit:BusyIndicator Name="IsBusy" Grid.Row="0" BusyContent="Retrieving folders ..." DisplayAfter="0">
- <TreeView Name="RootNodes" Margin="5"
- ItemContainerStyle="{StaticResource TreeItemStyle}"
- ItemTemplate="{StaticResource CheckboxStyle}">
- </TreeView>
- </extToolkit:BusyIndicator>
- <StackPanel Grid.Row="1">
+ <CheckBox x:Name="IsEnabled" Content="Enable Selective Syncing" Margin="5" Grid.Row="0"/>
+ <TreeView Name="RootNodes" Margin="5" Grid.Row="1"
+ ItemContainerStyle="{StaticResource TreeItemStyle}"
+ ItemTemplate="{StaticResource CheckboxStyle}"
+ IsEnabled="{Binding IsEnabled}" >
+ </TreeView>
+ <StackPanel Grid.Row="2">
<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right">
<Button Name="SaveChanges" Content="OK" Margin="5,5,10,5" Style="{StaticResource ButtonStyle}"/>
<Button Name="RejectChanges" Content="Cancel" Margin="5,5,10,5" Style="{StaticResource ButtonStyle}"/>
</StackPanel>
</StackPanel>
</Grid>
+ </extToolkit:BusyIndicator>
</Window>