PageRenderTime 21ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/ILSpy/OpenFromGacDialog.xaml

http://github.com/icsharpcode/ILSpy
XAML | 44 lines | 44 code | 0 blank | 0 comment | 0 complexity | 3f93babc41f46ccc81fcdbc5bd0adb39 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<Window
 3	x:Class="ICSharpCode.ILSpy.OpenFromGacDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:ICSharpCode.ILSpy.Controls"
 4	Title="Open From GAC"
 5	Style="{DynamicResource DialogWindow}"
 6	WindowStartupLocation="CenterOwner"
 7	ResizeMode="CanResizeWithGrip"
 8	MinWidth="200"
 9	MinHeight="150"
10	Height="350"
11	Width="750"
12	FocusManager.FocusedElement="{Binding ElementName=filterTextBox}">
13	<Grid
14		Margin="12,8">
15		<Grid.RowDefinitions>
16			<RowDefinition
17				Height="Auto" />
18			<RowDefinition
19				Height="1*" />
20			<RowDefinition
21				Height="Auto" />
22		</Grid.RowDefinitions>
23		<DockPanel>
24			<Label DockPanel.Dock="Left" Target="{Binding ElementName=filterTextBox}">_Search:</Label>
25			<TextBox Name="filterTextBox" TextChanged="FilterTextBox_TextChanged" />
26		</DockPanel>
27		<ListView Name="listView" Grid.Row="1" Margin="0, 8" controls:SortableGridViewColumn.SortMode="Automatic" SelectionChanged="ListView_SelectionChanged">
28			<ListView.View>
29				<GridView>
30					<controls:SortableGridViewColumn x:Name="nameColumn" Width="300" Header="Reference Name" DisplayMemberBinding="{Binding ShortName}" />
31					<controls:SortableGridViewColumn Width="75" Header="Version" DisplayMemberBinding="{Binding Version}" />
32					<controls:SortableGridViewColumn Width="65" Header="Culture" DisplayMemberBinding="{Binding Culture}" />
33					<controls:SortableGridViewColumn Width="115" Header="Public Key Token" DisplayMemberBinding="{Binding PublicKeyToken}" />
34					<controls:SortableGridViewColumn Width="1000" Header="Location" DisplayMemberBinding="{Binding FileName}" />
35				</GridView>
36			</ListView.View>
37		</ListView>
38		<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
39			<Button IsDefault="True" Margin="2,0" IsEnabled="False" Name="okButton" Click="OKButton_Click">Open</Button>
40			<Button IsCancel="True" Margin="2,0">Cancel</Button>
41		</StackPanel>
42		<ProgressBar Grid.Row="1" Height="10" HorizontalAlignment="Stretch" Name="gacReadingProgressBar" VerticalAlignment="Bottom" Visibility="Hidden" />
43	</Grid>
44</Window>