-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoToLineDialog.xaml
More file actions
61 lines (61 loc) · 3.69 KB
/
Copy pathGoToLineDialog.xaml
File metadata and controls
61 lines (61 loc) · 3.69 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<Window x:Class="DotNetPad.GoToLineDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DotNetPad"
mc:Ignorable="d" WindowStartupLocation="CenterOwner"
ShowInTaskbar="False" ResizeMode="CanResize" Loaded="Window_Loaded"
SizeToContent="WidthAndHeight" WindowStyle="None"
BorderThickness="0" Background="Transparent">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid Grid.Row="0" Name="TopGrid" HorizontalAlignment="Stretch" VerticalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="25" />
<ColumnDefinition Width="*" MinWidth="100" MaxWidth="700" />
<ColumnDefinition Width="25" />
</Grid.ColumnDefinitions>
<Grid Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Height="Auto" Text="Go to line"
Style="{DynamicResource SubtitleTextBlockStyle}"
Margin="0,25,0,10" />
<TextBlock Grid.Row="1" Height="Auto" Width="300" Text="Line number"
Style="{DynamicResource BodyTextBlockStyle}" Margin="0,0,10,0" />
<TextBox Grid.Row="2" Name="GoToTextBox" Height="36" TabIndex="0" Margin="0,10,0,0" />
</Grid>
</Grid>
<Border Grid.Row="1" Name="BottomBorder" BorderThickness="0,1,0,0"
HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0,25,0,0"
BorderBrush="{DynamicResource DividerStrokeColorDefaultBrush}"
Background="{DynamicResource LayerOnMicaBaseAltFillColorSecondaryBrush}" >
<Grid VerticalAlignment="Center" HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="25" />
<ColumnDefinition Width="*" MinWidth="100" MaxWidth="700" />
<ColumnDefinition Width="25" />
</Grid.ColumnDefinitions>
<Grid Grid.Column="1" Name="ButtonGrid" HorizontalAlignment="Stretch" VerticalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition MaxWidth="300" Width="*" />
<ColumnDefinition MaxWidth="300" Width="*" />
</Grid.ColumnDefinitions>
<Button Grid.Column="0" Content="Go to" MinWidth="90" Height="32" MinHeight="32" Focusable="True"
HorizontalAlignment="Stretch" Margin="0,20,10,20" Name="GoToLineButton" Click="GoToLineButton_Click"
TabIndex="1" IsDefault="True" Style="{DynamicResource AccentButtonStyle}" />
<Button Grid.Column="1" Content="Cancel" Name="CancelGoToLineButton" MinWidth="90" Height="32" MinHeight="32"
HorizontalAlignment="Stretch" TabIndex="2" IsCancel="True"
Margin="10,20,0,20" Focusable="True" />
</Grid>
</Grid>
</Border>
</Grid>
</Window>