mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.8 KiB
42 lines
1.8 KiB
<Window |
|
x:Class="ICSharpCode.ILSpy.OpenListDialog" 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" |
|
Title="Open List" |
|
Style="{DynamicResource DialogWindow}" |
|
WindowStartupLocation="CenterOwner" |
|
ResizeMode="CanResizeWithGrip" |
|
MinWidth="480" |
|
MinHeight="250" |
|
Height="350" |
|
Width="480" |
|
FocusManager.FocusedElement="{Binding ElementName=listView}"> |
|
<Grid Margin="12,8"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="1*" /> |
|
<RowDefinition Height="Auto" /> |
|
</Grid.RowDefinitions> |
|
<StackPanel> |
|
<Label>Select a list:</Label> |
|
</StackPanel> |
|
<ListView Name="listView" Grid.Row="1" Margin="0, 8" controls:SortableGridViewColumn.SortMode="Automatic" SelectionChanged="ListView_SelectionChanged" |
|
Loaded="listView_Loaded" SelectionMode="Single" MouseDoubleClick="listView_MouseDoubleClick"> |
|
<ListView.View> |
|
<GridView> |
|
<controls:SortableGridViewColumn x:Name="nameColumn" Header="Name" DisplayMemberBinding="{Binding .}" /> |
|
</GridView> |
|
</ListView.View> |
|
</ListView> |
|
<DockPanel Grid.Row="2"> |
|
<StackPanel DockPanel.Dock="Right" Orientation="Horizontal" HorizontalAlignment="Right"> |
|
<Button IsDefault="True" Margin="2,0" IsEnabled="False" Name="okButton" Click="OKButton_Click">_Open</Button> |
|
<Button IsCancel="True" Margin="2,0">Cancel</Button> |
|
</StackPanel> |
|
|
|
<StackPanel DockPanel.Dock="Left" Orientation="Horizontal" HorizontalAlignment="Left"> |
|
<Button Margin="2,0" Click="CreateButton_Click">_Create</Button> |
|
<Button Margin="2,0" IsEnabled="False" Name="deleteButton" Click="DeleteButton_Click">_Delete</Button> |
|
<Button Margin="2,0" Click="ResetButton_Click">_Reset</Button> |
|
</StackPanel> |
|
</DockPanel> |
|
</Grid> |
|
</Window> |