|
28 | 28 | <BitmapImage x:Key="AddStdModuleImage" UriSource="../../Resources/Custom/PNG/AddModule.png" />
|
29 | 29 | <BitmapImage x:Key="AddClassModuleImage" UriSource="../../Resources/Custom/PNG/AddClass.png" />
|
30 | 30 | <BitmapImage x:Key="AddUserFormImage" UriSource="../../Resources/Custom/PNG/AddForm.png" />
|
| 31 | + <BitmapImage x:Key="SearchImage" UriSource="../../Resources/magnifier-medium.png" /> |
31 | 32 |
|
32 | 33 | <BooleanToVisibilityConverter x:Key="BoolToVisibility"/>
|
33 | 34 | <converters:BoolToHiddenVisibilityConverter x:Key="BoolToHiddenVisibility" />
|
|
48 | 49 | <Setter Property="BorderThickness" Value="1.5"/>
|
49 | 50 | <Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}"/>
|
50 | 51 | <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
|
| 52 | + <Setter Property="Visibility" Value="{Binding IsVisible, Mode=OneWay, Converter={StaticResource BoolToVisibility}}" /> |
51 | 53 | <Setter Property="HorizontalAlignment" Value="Left" />
|
52 | 54 | <EventSetter Event="MouseDoubleClick" Handler="TreeView_OnMouseDoubleClick" />
|
53 | 55 | <EventSetter Event="MouseRightButtonDown" Handler="TreeView_OnMouseRightButtonDown" />
|
|
283 | 285 | <Grid UseLayoutRounding="True">
|
284 | 286 | <Grid.RowDefinitions>
|
285 | 287 | <RowDefinition Height="30"/>
|
| 288 | + <RowDefinition Height="20"/> |
286 | 289 | <RowDefinition Height="*" MinHeight="64" />
|
287 | 290 | <RowDefinition Height="5"/>
|
288 | 291 | <RowDefinition Height="Auto" MinHeight="48"/>
|
|
424 | 427 | </ToolBar>
|
425 | 428 | </ToolBarTray>
|
426 | 429 |
|
427 |
| - <controls:EmptyUIRefresh Grid.Row="1" /> |
| 430 | + <TextBox Grid.Row="1" TextChanged="SearchBox_OnTextChanged" VerticalContentAlignment="Center" Name="SearchBox"></TextBox> |
| 431 | + <Image Grid.Row="1" Source="{StaticResource SearchImage}" HorizontalAlignment="Right" VerticalAlignment="Center" MaxHeight="16" Margin="0,0,1,0" MouseDown="SearchIcon_OnMouseDown" /> |
| 432 | + |
| 433 | + <controls:EmptyUIRefresh Grid.Row="2" /> |
428 | 434 |
|
429 | 435 | <TreeView x:Name="ProjectTree"
|
430 |
| - Grid.Row="1" |
| 436 | + Grid.Row="2" |
431 | 437 | Background="White"
|
432 | 438 | ItemContainerStyle="{StaticResource ShinyTreeView}"
|
433 | 439 | HorizontalContentAlignment="Stretch"
|
|
439 | 445 | </i:Interaction.Behaviors>
|
440 | 446 | </TreeView>
|
441 | 447 |
|
442 |
| - <controls:BusyIndicator Grid.Row="1" Width="120" Height="120" Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibility}}" /> |
| 448 | + <controls:BusyIndicator Grid.Row="2" Width="120" Height="120" Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibility}}" /> |
443 | 449 |
|
444 |
| - <GridSplitter Grid.Row="2" Height="5" ShowsPreview="True" Cursor="SizeNS" HorizontalAlignment="Stretch"/> |
| 450 | + <GridSplitter Grid.Row="3" Height="5" ShowsPreview="True" Cursor="SizeNS" HorizontalAlignment="Stretch"/> |
445 | 451 |
|
446 |
| - <Border Grid.Row="3" BorderThickness="0,1,0,0" BorderBrush="DimGray"> |
| 452 | + <Border Grid.Row="4" BorderThickness="0,1,0,0" BorderBrush="DimGray"> |
447 | 453 |
|
448 | 454 | <ScrollViewer Background="WhiteSmoke" VerticalScrollBarVisibility="Auto">
|
449 | 455 | <WrapPanel Orientation="Vertical" MinHeight="70" Background="WhiteSmoke">
|
|
0 commit comments