1
- <Window x : Class =" Flow.Launcher.Msg"
2
- xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
- xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4
- Background =" #ebebeb"
5
- Topmost =" True"
6
- SizeToContent =" Height"
7
- ResizeMode =" NoResize"
8
- WindowStyle =" None"
9
- ShowInTaskbar =" False"
10
- Title =" Msg" Height =" 60" Width =" 420" >
1
+ <Window
2
+ x : Class =" Flow.Launcher.Msg"
3
+ xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
+ xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
+ Title =" Msg"
6
+ Width =" 420"
7
+ Height =" 60"
8
+ Background =" #ebebeb"
9
+ ResizeMode =" NoResize"
10
+ ShowInTaskbar =" False"
11
+ SizeToContent =" Height"
12
+ Topmost =" True"
13
+ WindowStyle =" None" >
11
14
<Window .Triggers>
12
15
<EventTrigger RoutedEvent =" Window.Loaded" >
13
16
<BeginStoryboard >
14
17
<Storyboard >
15
- <DoubleAnimation x : Name =" showAnimation" Duration =" 0:0:0.3" Storyboard.TargetProperty=" Top"
16
- AccelerationRatio =" 0.2" />
18
+ <DoubleAnimation
19
+ x : Name =" showAnimation"
20
+ AccelerationRatio =" 0.2"
21
+ Storyboard.TargetProperty=" Top"
22
+ Duration =" 0:0:0.3" />
17
23
</Storyboard >
18
24
</BeginStoryboard >
19
25
</EventTrigger >
20
-
21
26
</Window .Triggers>
22
- <Grid HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" Margin =" 5" >
27
+
28
+ <Grid
29
+ Margin =" 5"
30
+ HorizontalAlignment =" Stretch"
31
+ VerticalAlignment =" Stretch" >
23
32
<Grid .ColumnDefinitions>
24
33
<ColumnDefinition Width =" 32" />
25
34
<ColumnDefinition />
26
35
<ColumnDefinition Width =" 2.852" />
27
- <ColumnDefinition Width =" 13.148" />
36
+ <ColumnDefinition Width =" 13.148" />
28
37
</Grid .ColumnDefinitions>
29
- <Image x : Name =" imgIco" Width =" 32" Height =" 32" HorizontalAlignment =" Left" Margin =" 0,9" />
30
- <Grid HorizontalAlignment =" Stretch" Margin =" 5 0 0 0" Grid.Column=" 1" VerticalAlignment =" Stretch" >
38
+ <Image
39
+ x : Name =" imgIco"
40
+ Width =" 32"
41
+ Height =" 32"
42
+ Margin =" 0 9"
43
+ HorizontalAlignment =" Left" />
44
+ <Grid
45
+ Grid.Column=" 1"
46
+ Margin =" 5 0 0 0"
47
+ HorizontalAlignment =" Stretch"
48
+ VerticalAlignment =" Stretch" >
31
49
<Grid .RowDefinitions>
32
50
<RowDefinition />
33
51
<RowDefinition />
34
52
</Grid .RowDefinitions>
35
- <TextBlock x : Name =" tbTitle" FontSize =" 16" Foreground =" #37392c" FontWeight =" Medium" >Title</TextBlock >
36
- <TextBlock Grid.Row=" 1" Foreground =" #8e94a4" x : Name =" tbSubTitle" >sdfdsf</TextBlock >
53
+ <TextBlock
54
+ x : Name =" tbTitle"
55
+ FontSize =" 16"
56
+ FontWeight =" Medium"
57
+ Foreground =" #37392c" >
58
+ Title
59
+ </TextBlock >
60
+ <TextBlock
61
+ x : Name =" tbSubTitle"
62
+ Grid.Row=" 1"
63
+ Foreground =" #8e94a4" >
64
+ sdfdsf
65
+ </TextBlock >
37
66
</Grid >
38
- <Image x : Name =" imgClose" Grid.Column=" 2" Cursor =" Hand" Width =" 16" VerticalAlignment =" Top"
39
- HorizontalAlignment =" Right" Grid.ColumnSpan=" 2" />
67
+ <Image
68
+ x : Name =" imgClose"
69
+ Grid.Column=" 2"
70
+ Grid.ColumnSpan=" 2"
71
+ Width =" 16"
72
+ HorizontalAlignment =" Right"
73
+ VerticalAlignment =" Top"
74
+ Cursor =" Hand" />
40
75
</Grid >
41
76
</Window >
0 commit comments