-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFilenameInputWindow.xaml
More file actions
64 lines (60 loc) · 2.04 KB
/
Copy pathFilenameInputWindow.xaml
File metadata and controls
64 lines (60 loc) · 2.04 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
62
63
64
<Window x:Class="FilePairing.FilenameInputWindow"
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:FilePairing"
d:DataContext="{d:DesignInstance local:FilenameInputViewModel}"
mc:Ignorable="d"
WindowStartupLocation="CenterOwner"
Loaded="FilenameInputWindow_OnLoaded"
Title="ファイル名の設定" Height="130" Width="600">
<Grid Margin="4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<GroupBox Header="メイン"
Grid.Column="0" Grid.Row="0">
<Grid Margin="2,4,2,2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Label Content="ファイル名:" Grid.Column="0" />
<TextBox Text="{Binding MainFilename}"
VerticalContentAlignment="Center"
Height="24"
Grid.Column="1" />
</Grid>
</GroupBox>
<GroupBox Header="サブ"
Grid.Column="1" Grid.Row="0">
<Grid Margin="2,4,2,2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Label Content="ファイル名:" Grid.Column="0" />
<TextBox Text="{Binding SubFilename}"
VerticalContentAlignment="Center"
Height="24"
Grid.Column="1" />
</Grid>
</GroupBox>
<StackPanel Orientation="Horizontal"
HorizontalAlignment="Right"
Margin="0,4"
Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1">
<Button Content="OK"
Click="Button_Click"
IsDefault="True"
Width="100" Height="24" />
</StackPanel>
</Grid>
</Window>