-
Notifications
You must be signed in to change notification settings - Fork 1
/
CsvOptions.xaml
59 lines (59 loc) · 1.96 KB
/
CsvOptions.xaml
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
<Window
x:Class="SheetReader.Wpf.Test.CsvOptions"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Csv Options"
ResizeMode="NoResize"
SizeToContent="WidthAndHeight"
WindowStartupLocation="CenterOwner">
<Grid MinWidth="320" MinHeight="110">
<Label
Margin="10,10,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="Write Columns:" />
<CheckBox
Margin="165,16,10,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
VerticalContentAlignment="Center"
IsChecked="{Binding CsvWriteColumns}" />
<Label
Margin="10,40,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="First Row Defines Columns:" />
<CheckBox
Margin="165,46,90,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
VerticalContentAlignment="Center"
IsChecked="{Binding FirstRowDefinesColumns}" />
<Button
Height="23"
Margin="0,0,170,10"
Padding="5,0,10,0"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Click="OnOKOpenClick"
Content="Export And Open" />
<Button
Width="75"
Height="23"
Margin="0,0,90,10"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Click="OnOKClick"
Content="OK"
IsDefault="True" />
<Button
Width="75"
Height="23"
Margin="0,40,10,10"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Click="OnCancelClick"
Content="Cancel"
IsCancel="True" />
</Grid>
</Window>