forked from parnic/VSQuickOpenFile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathListFiles.xaml
More file actions
33 lines (33 loc) · 1.74 KB
/
ListFiles.xaml
File metadata and controls
33 lines (33 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<Window x:Class="PerniciousGames.OpenFileInSolution.ListFiles"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Quick Open File" Height="300" Width="675" WindowStartupLocation="CenterOwner"
MinWidth="200" MinHeight="100" KeyDown="Window_KeyDown"
DataContext="{Binding RelativeSource={RelativeSource Self}}" ShowInTaskbar="False">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<ListBox Name="lstFiles" SelectionMode="Extended" MouseDoubleClick="lstFiles_MouseDoubleClick">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Filename}"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Grid Grid.Row="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBox Name="txtFilter" Text="{Binding FilterText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextChanged="txtFilterChanged" PreviewKeyDown="txtFilter_KeyDown"/>
<Button Content="Settings" Grid.Column="1" Click="btnSettings_Click"/>
</Grid>
<Grid Grid.Row="1" Name="grdSettings" Visibility="Collapsed">
<CheckBox IsChecked="{Binding bSearchFullPath, Mode=TwoWay}" Checked="chkSearchFullPath_Checked" Unchecked="chkSearchFullPath_Checked"
Content="Search full path" HorizontalAlignment="Left"/>
</Grid>
</Grid>
</Window>