-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
606 lines (579 loc) · 31.4 KB
/
MainWindow.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
<?xml version="1.0" encoding="utf-8" ?>
<Window
x:Class="BehaviorAnimations.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:behave="using:BehaviorAnimations.Behaviors"
xmlns:ctrl="using:BehaviorAnimations.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:interact="using:Microsoft.Xaml.Interactivity"
xmlns:interactcore="using:Microsoft.Xaml.Interactions.Core"
xmlns:interactmedia="using:Microsoft.Xaml.Interactions.Media"
xmlns:local="using:BehaviorAnimations"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<!--
[Behavior Documentation]
https://github.com/Microsoft/XamlBehaviors/wiki/EventTriggerBehavior
https://github.com/Microsoft/XamlBehaviors/wiki/CallMethodAction
https://github.com/Microsoft/XamlBehaviors/wiki/ChangePropertyAction
https://github.com/Microsoft/XamlBehaviors/wiki/ControlStoryboardAction
https://github.com/Microsoft/XamlBehaviors/wiki/DataTriggerBehavior
https://github.com/Microsoft/XamlBehaviors/wiki/GoToStateAction
https://github.com/Microsoft/XamlBehaviors/wiki/IncrementalUpdateBehavior
https://github.com/Microsoft/XamlBehaviors/wiki/InvokeCommandAction
https://github.com/Microsoft/XamlBehaviors/wiki/NavigateToPageAction
https://github.com/Microsoft/XamlBehaviors/wiki/PlaySoundAction
[Event Names]
https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.grid?view=windowsdesktop-9.0#events
-->
<Grid
x:Name="root"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<!--#region [Window Content Animation]-->
<Grid.Resources>
<ThemeShadow x:Name="SharedShadow" />
</Grid.Resources>
<interact:Interaction.Behaviors>
<behave:OpacityAnimationBehavior
EaseMode="QuadEaseOut"
Seconds="1.0"
From="0.0"
To="1.0" />
<behave:SlideAnimationBehavior
Direction="Up"
EaseMode="QuadEaseOut"
Seconds="1.0" />
</interact:Interaction.Behaviors>
<!--#endregion-->
<!--#region [Custom TitleBar With Animation]-->
<Grid
x:Name="CustomTitleBar"
Grid.Row="0"
Height="30"
Margin="0">
<interact:Interaction.Behaviors>
<behave:OpacityAnimationBehavior
EaseMode="QuadEaseOut"
Seconds="1.5"
From="0.0"
To="1.0" />
<behave:SlideAnimationBehavior
Direction="Left"
EaseMode="QuadEaseOut"
FallbackAmount="350"
Seconds="1.7" />
</interact:Interaction.Behaviors>
<StackPanel Orientation="Horizontal">
<Image
Width="25"
Height="25"
Margin="4,1"
Source="ms-appx:///Assets/StoreLogo.png" />
<TextBlock
Margin="2,0"
VerticalAlignment="Center"
Style="{StaticResource CaptionTextBlockStyle}"
Text="{x:Bind Title, Mode=OneWay}" />
</StackPanel>
</Grid>
<!--#endregion-->
<!--#region [Main Content]-->
<ScrollViewer Grid.Row="1">
<Grid x:Name="gridContent">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<StackPanel
x:Name="spConfig"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="20"
Orientation="Vertical"
Spacing="2">
<StackPanel.Resources>
<Style TargetType="TextBox">
<Setter Property="MaxWidth" Value="300" />
<Setter Property="FontFamily" Value="{StaticResource PrimaryFont}" />
</Style>
<Style TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource PrimaryFont}" />
</Style>
<Storyboard
x:Name="StoryboardTranslation"
AutoReverse="True"
RepeatBehavior="Forever">
<DoubleAnimation
d:IsOptimized="True"
Storyboard.TargetName="Translation1"
Storyboard.TargetProperty="X"
To="10"
Duration="0:0:1.5" />
<DoubleAnimation
d:IsOptimized="True"
Storyboard.TargetName="Translation1"
Storyboard.TargetProperty="Y"
To="10"
Duration="0:0:1.5" />
</Storyboard>
</StackPanel.Resources>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<!--#region [Opacity Animation Test]-->
<TextBlock
Grid.Column="0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="{StaticResource FontSizeHuge}"
FontWeight="Bold"
Foreground="{ThemeResource GradientHeaderBrush}"
Text="{x:Bind local:App.GetCurrentNamespace()}">
<interact:Interaction.Behaviors>
<behave:OpacityAnimationBehavior
EaseMode="QuadEaseOut"
Seconds="4.0"
From="0.0"
To="1.0" />
</interact:Interaction.Behaviors>
</TextBlock>
<!--#endregion-->
<!--#region [Scale Animation Test]-->
<Image
Grid.Column="1"
Width="60"
Height="60"
Margin="1"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Source="ms-appx:///Assets/StoreLogo.png">
<interact:Interaction.Behaviors>
<behave:ScaleAnimationBehavior
EaseMode="QuadEaseOut"
Final="1.0"
Seconds="4.0" />
<behave:OpacityAnimationBehavior
EaseMode="QuadEaseOut"
Seconds="3.0"
From="0.0"
To="0.9" />
</interact:Interaction.Behaviors>
</Image>
<!--#endregion-->
</Grid>
<ctrl:SeparatorLine Margin="1,0,0,0" />
<!--#region [Spring Animation Test]-->
<Slider
x:Name="sldr"
Width="170"
Margin="4,10,0,0"
HorizontalAlignment="Left"
LargeChange="10"
Maximum="100"
Minimum="1"
SmallChange="1"
Value="50">
<Slider.Header>
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Center">
<Run Foreground="{ThemeResource GradientHeaderBrush}" Text="Example Value (" />
<Run Foreground="{ThemeResource GradientBorderBrush}" Text="{x:Bind sldr.Value, Mode=OneWay}" />
<Run Foreground="{ThemeResource GradientHeaderBrush}" Text=")" />
</TextBlock>
</Slider.Header>
<interact:Interaction.Behaviors>
<behave:SpringAnimationBehavior
Damping="0.2"
Final="1.07"
Seconds="0.04" />
</interact:Interaction.Behaviors>
</Slider>
<!--#endregion-->
<!--#region [KeyDown Behavior Test Using CallMethodAction]-->
<TextBox
x:Name="tbSetting1"
Width="170"
Margin="1,10,0,0"
HorizontalAlignment="Left"
AcceptsReturn="False"
MaxLength="50"
PlaceholderText="50 characters max"
TextWrapping="Wrap">
<TextBox.Header>
<TextBlock Foreground="{ThemeResource GradientHeaderBrush}" Text="Press Spacebar" />
</TextBox.Header>
<interact:Interaction.Behaviors>
<behave:AutoFocusBehavior />
<behave:KeyDownTriggerBehavior Key="Space">
<interactcore:CallMethodAction MethodName="SomePublicMethodHere" TargetObject="{x:Bind}" />
<!--<interactcore:InvokeCommandAction Command="{x:Bind ViewModel.KeyDownCommand}" CommandParameter="{x:Bind root}" />-->
<!--<interactcore:ChangePropertyAction PropertyName="Margin" TargetObject="{x:Bind root}" Value="30" />-->
</behave:KeyDownTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="KeyDown">
<interactcore:ChangePropertyAction
PropertyName="Fill"
TargetObject="{Binding ElementName=BehaviorRectangle}"
Value="{StaticResource BC1}" />
</interactcore:EventTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="KeyUp">
<interactcore:ChangePropertyAction
PropertyName="Fill"
TargetObject="{Binding ElementName=BehaviorRectangle}"
Value="{StaticResource BC2}" />
</interactcore:EventTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="GotFocus">
<interactcore:ChangePropertyAction
PropertyName="Fill"
TargetObject="{Binding ElementName=BehaviorRectangle}"
Value="{StaticResource BC3}" />
</interactcore:EventTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="LostFocus">
<interactcore:ChangePropertyAction
PropertyName="Fill"
TargetObject="{Binding ElementName=BehaviorRectangle}"
Value="{StaticResource BC4}" />
</interactcore:EventTriggerBehavior>
</interact:Interaction.Behaviors>
</TextBox>
<!--#endregion-->
<Rectangle
x:Name="BehaviorRectangle"
Width="170"
Height="8"
Margin="1,0,0,0"
HorizontalAlignment="Left"
Fill="{StaticResource GC4}"
RadiusX="3"
RadiusY="3">
<Rectangle.RenderTransform>
<TranslateTransform x:Name="Translation1" />
</Rectangle.RenderTransform>
</Rectangle>
<!--#region [KeyDown Behavior Test Using InvokeCommandAction]-->
<TextBox
x:Name="tbSetting2"
Width="170"
Margin="1,10,0,0"
HorizontalAlignment="Left"
AcceptsReturn="False"
MaxLength="50"
PlaceholderText="50 characters max"
TextWrapping="Wrap"
Visibility="{x:Bind local:Functions.NotEmptyStringToVisible(tbSetting1.Text), Mode=OneWay}">
<TextBox.Header>
<TextBlock Foreground="{ThemeResource GradientHeaderBrush}" Text="Press Backspace" />
</TextBox.Header>
<interact:Interaction.Behaviors>
<behave:KeyDownTriggerBehavior Key="Back">
<interactcore:InvokeCommandAction Command="{x:Bind KeyDownCommand}" CommandParameter="{x:Bind tbSetting2}" />
<!--<interactcore:CallMethodAction MethodName="SomePublicMethodHere" TargetObject="{x:Bind}" />-->
<!--<interactcore:ChangePropertyAction PropertyName="Margin" TargetObject="{x:Bind root}" Value="30" />-->
</behave:KeyDownTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="KeyDown">
<!--
<media:PlaySoundAction Source="Assets/click.mp3" Volume="1" />
This appears to have been removed from the current Interactions library ⇒ https://learn.microsoft.com/en-us/previous-versions/dn458246(v=vs.120)
I've opened an issue for it here ⇒ https://github.com/microsoft/XamlBehaviors/issues/252
-->
<interactmedia:ControlStoryboardAction ControlStoryboardOption="TogglePlayPause" Storyboard="{StaticResource StoryboardTranslation}" />
</interactcore:EventTriggerBehavior>
</interact:Interaction.Behaviors>
</TextBox>
<!--#endregion-->
<!--#region [EventTriggerBehavior Test]-->
<ToggleSwitch
x:Name="tsSample"
Margin="1,10,0,0"
HorizontalAlignment="Left"
Foreground="{ThemeResource GradientHeaderBrush}"
Header=""
IsOn="True"
OffContent="Option Disabled"
OnContent="Option Enabled">
<interact:Interaction.Behaviors>
<interactcore:DataTriggerBehavior Binding="{Binding IsOn, ElementName=tsSample}" Value="False">
<interactcore:GoToStateAction
StateName="Disabled"
TargetObject="{Binding ElementName=btn}"
UseTransitions="False" />
</interactcore:DataTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="Toggled">
<interactcore:ChangePropertyAction
PropertyName="Header"
TargetObject="{x:Bind tsSample}"
Value="Toggled" />
</interactcore:EventTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="PointerEntered">
<interactcore:ChangePropertyAction
PropertyName="Header"
TargetObject="{x:Bind tsSample}"
Value="PointerEntered" />
</interactcore:EventTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="PointerExited">
<interactcore:ChangePropertyAction
PropertyName="Header"
TargetObject="{x:Bind tsSample}"
Value="PointerExited" />
</interactcore:EventTriggerBehavior>
<interactcore:EventTriggerBehavior EventName="PointerCanceled">
<interactcore:ChangePropertyAction
PropertyName="Header"
TargetObject="{x:Bind tsSample}"
Value="PointerCanceled" />
</interactcore:EventTriggerBehavior>
</interact:Interaction.Behaviors>
</ToggleSwitch>
<!--#endregion-->
<StackPanel
Margin="0,12,0,2"
Orientation="Horizontal"
Spacing="10">
<Button
MinWidth="120"
Content="Scale Click"
FontFamily="{ThemeResource PrimaryFont}"
FontSize="{ThemeResource FontSizeMedium}"
Style="{ThemeResource EnhancedButton}">
<interact:Interaction.Behaviors>
<!--
This effect can jump if not enclosed inside a parent container, e.g. a Grid/StackPanel
-->
<behave:ButtonAnimationBehavior
EaseMode="QuadEaseOut"
Final="0.75"
Seconds="0.08" />
</interact:Interaction.Behaviors>
</Button>
<Button
x:Name="btn"
MinWidth="120"
Content="Color Animation"
FontFamily="{ThemeResource PrimaryFont}"
FontSize="{ThemeResource FontSizeMedium}">
<interact:Interaction.Behaviors>
<behave:ColorAnimationBehavior
EaseMode="QuadEaseOut"
Interpolation="Rgb"
Seconds="4.0"
From="#FF4800FF"
To="#FF00FFFF" />
</interact:Interaction.Behaviors>
</Button>
<Button
MinWidth="120"
Content="Color Gradient"
FontFamily="{ThemeResource PrimaryFont}"
FontSize="{ThemeResource FontSizeMedium}">
<interact:Interaction.Behaviors>
<behave:ColorGradientBehavior From="#FF4800FF" To="#FF00FFFF" />
</interact:Interaction.Behaviors>
</Button>
</StackPanel>
<!--#region SnapButtonBehavior-->
<StackPanel
Margin="0,12,0,2"
Orientation="Horizontal"
Spacing="10">
<!-- Snap Left -->
<Button
MinWidth="120"
FontFamily="{ThemeResource PrimaryFont}"
FontSize="{ThemeResource FontSizeMedium}">
<Button.Content>
<ctrl:CompositionShadow
HorizontalAlignment="Left"
VerticalAlignment="Top"
BlurRadius="2"
OffsetX="3"
OffsetY="3"
Color="#000000">
<TextBlock Foreground="{ThemeResource PrimaryBrush}" Text="Snap Left" />
</ctrl:CompositionShadow>
</Button.Content>
<Button.Resources>
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlTransparentBrush" />
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" />
</Button.Resources>
<interact:Interaction.Behaviors>
<behave:SnapButtonBehavior DurationSeconds="0.35" SnapType="Left" />
</interact:Interaction.Behaviors>
</Button>
<!-- Snap Top -->
<Button
MinWidth="120"
FontFamily="{ThemeResource PrimaryFont}"
FontSize="{ThemeResource FontSizeMedium}">
<Button.Content>
<ctrl:CompositionShadow
HorizontalAlignment="Left"
VerticalAlignment="Top"
BlurRadius="2"
OffsetX="3"
OffsetY="3"
Color="#000000">
<TextBlock Foreground="{ThemeResource PrimaryBrush}" Text="Snap Top" />
</ctrl:CompositionShadow>
</Button.Content>
<Button.Resources>
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlTransparentBrush" />
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" />
</Button.Resources>
<interact:Interaction.Behaviors>
<behave:SnapButtonBehavior DurationSeconds="0.35" SnapType="Top" />
</interact:Interaction.Behaviors>
</Button>
<!-- Snap Right -->
<Button
MinWidth="120"
FontFamily="{ThemeResource PrimaryFont}"
FontSize="{ThemeResource FontSizeMedium}">
<Button.Content>
<ctrl:CompositionShadow
HorizontalAlignment="Left"
VerticalAlignment="Top"
BlurRadius="2"
OffsetX="3"
OffsetY="3"
Color="#000000">
<TextBlock Foreground="{ThemeResource PrimaryBrush}" Text="Snap Right" />
</ctrl:CompositionShadow>
</Button.Content>
<Button.Resources>
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlTransparentBrush" />
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" />
</Button.Resources>
<interact:Interaction.Behaviors>
<behave:SnapButtonBehavior DurationSeconds="0.35" SnapType="Right" />
</interact:Interaction.Behaviors>
</Button>
<!-- Snap Bottom -->
<Button
MinWidth="120"
FontFamily="{ThemeResource PrimaryFont}"
FontSize="{ThemeResource FontSizeMedium}">
<Button.Content>
<ctrl:CompositionShadow
HorizontalAlignment="Left"
VerticalAlignment="Top"
BlurRadius="2"
OffsetX="3"
OffsetY="3"
Color="#000000">
<TextBlock Foreground="{ThemeResource PrimaryBrush}" Text="Snap Bottom" />
</ctrl:CompositionShadow>
</Button.Content>
<Button.Resources>
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlTransparentBrush" />
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" />
</Button.Resources>
<interact:Interaction.Behaviors>
<behave:SnapButtonBehavior DurationSeconds="0.35" SnapType="Bottom" />
</interact:Interaction.Behaviors>
</Button>
</StackPanel>
<!--#endregion-->
<ctrl:SeparatorLine Margin="1,5,0,0" />
<!--#region [Rotation Animation Test]-->
<Image
Width="60"
Height="60"
Margin="62,24,20,10"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Source="ms-appx:///Assets/Spinner.png">
<interact:Interaction.Behaviors>
<behave:RotationAnimationBehavior
Direction="Normal"
EaseMode="CircleEaseInOut"
Seconds="3.0" />
<behave:OpacityAnimationBehavior
EaseMode="QuadEaseOut"
Seconds="2.0"
From="0.0"
To="0.4" />
</interact:Interaction.Behaviors>
</Image>
<!--#endregion-->
<!-- Custom Button Style Test -->
<!--<Button Content="❌" Style="{ThemeResource CloseButtonStyle}" />-->
</StackPanel>
<!--#region [Rotation Animation Test]-->
<Border
x:Name="brdr"
Grid.Column="1"
Width="120"
Height="120"
Margin="0,-10,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
BorderBrush="{ThemeResource GradientBorderBrush}"
BorderThickness="8"
CornerRadius="5"
Shadow="{ThemeResource SharedShadow}"
Translation="0,0,64">
<Image Margin="5" Source="ms-appx:///Assets/StoreLogo.png">
<interact:Interaction.Behaviors>
<behave:OpacityAnimationBehavior
EaseMode="Linear"
Seconds="12.0"
From="1.0"
To="0.0" />
</interact:Interaction.Behaviors>
</Image>
<interact:Interaction.Behaviors>
<behave:RotationAnimationBehavior
x:Name="rab"
Direction="Reverse"
EaseMode="Linear"
Seconds="9.0" />
<!--
https://github.com/Microsoft/XamlBehaviors/wiki/DataTriggerBehavior
-->
<interactcore:DataTriggerBehavior
Binding="{Binding Value, ElementName=sldr}"
ComparisonCondition="LessThanOrEqual"
Value="30">
<!--
We'll only set the BorderThickness if the slider value is less than or equal to 30.
-->
<interactcore:ChangePropertyAction
PropertyName="BorderThickness"
TargetObject="{Binding ElementName=brdr}"
Value="{Binding Value, ElementName=sldr}" />
</interactcore:DataTriggerBehavior>
</interact:Interaction.Behaviors>
</Border>
<!--#endregion-->
</Grid>
</ScrollViewer>
<!--#endregion-->
<!--#region [Custom Control Test]-->
<StackPanel
Grid.Row="1"
Margin="6"
VerticalAlignment="Bottom">
<!-- Wrap this in a StackPanel/Grid to support AnimateUIElementOffset -->
<ctrl:AutoCloseInfoBar
x:Name="infoBar"
AutoCloseInterval="6000"
IsOpen="False"
Seconds="2.0"
Severity="Informational"
SlideUp="True">
<!--
<interact:Interaction.Behaviors>
<behave:InfoBarOpacityBehavior EaseMode="QuadEaseOut" Final="1.0" Seconds="1.1" />
</interact:Interaction.Behaviors>
-->
</ctrl:AutoCloseInfoBar>
</StackPanel>
<!--#endregion-->
</Grid>
</Window>