PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/ILSpy/CreateListDialog.xaml

http://github.com/icsharpcode/ILSpy
XAML | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | af1108c822e08e32548170db25c2b6cf MD5 | raw file
 1<Window
 2	x:Class="ICSharpCode.ILSpy.CreateListDialog" 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"
 3	Title="New list"
 4	Style="{DynamicResource DialogWindow}"
 5	WindowStartupLocation="CenterOwner"
 6	ResizeMode="NoResize"
 7	Width="300"
 8	Height="150"
 9	FocusManager.FocusedElement="{Binding ElementName=ListName}">
10    <Grid Margin="12,8">
11        <Grid.RowDefinitions>
12            <RowDefinition Height="Auto" />
13            <RowDefinition Height="Auto" />
14        </Grid.RowDefinitions>
15        <StackPanel>
16            <Label>Enter a list name:</Label>
17            <TextBox Margin="8,8" Name="ListName" TextChanged="TextBox_TextChanged"></TextBox>
18        </StackPanel>
19        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="8,0">
20            <Button IsDefault="True" Margin="2,0" IsEnabled="False" Name="okButton" Click="OKButton_Click">Create</Button>
21            <Button IsCancel="True" Margin="2,0">Cancel</Button>
22        </StackPanel>
23    </Grid>
24</Window>