| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 01 00 06 00 00 00 00 00 01 00 20 00 5a 87 00 00 66 00 00 00 80 80 00 00 01 00 20 00 28 08 | ..............Z...f...........(. |
| 0020 | 01 00 c0 87 00 00 40 40 00 00 01 00 20 00 28 42 00 00 e8 8f 01 00 30 30 00 00 01 00 20 00 a8 25 | ......@@......(B......00.......% |
| 0040 | 00 00 10 d2 01 00 20 20 00 00 01 00 20 00 a8 10 00 00 b8 f7 01 00 10 10 00 00 01 00 20 00 68 04 | ..............................h. |
| 0060 | 00 00 60 08 02 00 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 00 00 00 01 00 08 06 | ..`....PNG........IHDR.......... |
| 0080 | 00 00 00 5c 72 a8 66 00 00 80 00 49 44 41 54 78 da ec fd 77 98 65 e9 59 de 0b ff 56 4e 3b ef ca | ...\r.f....IDATx...w.e.Y...VN;.. |
| 00a0 | 55 5d dd 5d 1d a6 27 f6 8c 34 a3 09 8a a3 80 84 10 02 6c 10 b6 30 d8 7c e0 0b 2c b0 05 f8 7c 18 | U].]..'..4........l..0.|..,...|. |
| 00c0 | 0b 63 c0 18 fb 1c 73 b0 31 3e 06 db 80 0f 20 04 02 63 09 24 50 1a c1 28 20 46 a3 89 9a 1c 3a 77 | .c....s.1>.......c.$P..(.F....:w |
| 00e0 | e5 b0 6b c7 95 c3 f9 63 ad bd bb ba a7 67 a6 43 ed 0a d3 fb 9e ab ae e9 6b 87 b5 de bd d6 7a 9f | ..k....c.....g.C........k.....z. |
| 0100 | f7 79 9f 70 df 02 03 0c b0 0d f8 93 3f f9 13 19 10 1f b8 ff be 3b 6a eb 75 f3 d9 17 4f 94 64 49 | .y.p........?........;j.u...O.dI |
| 0120 | 1c 13 45 a1 72 fc f8 71 a2 38 96 0d 33 57 ce 59 d6 88 69 18 c3 6b 6b 6b f8 be 47 a3 dd 24 8a 62 | ..E.r..q.8..3W.Y..i..kkk..G..$.b |
| 0140 | 82 20 02 41 90 24 49 52 0e ec df 7f 57 92 24 24 71 44 bb dd 26 08 02 92 24 21 49 12 e2 38 c6 f3 | ...A.$IR....W.$$qD..&...$!I..8.. |
| 0160 | 7d c2 28 bc e4 b1 59 a6 85 2c 8a 75 4d 93 ff 0b f0 c0 e9 b9 a5 cf 6e f7 f5 ea 17 e4 ed 1e c0 00 | }.(...Y..,.uM.........n......... |
| 0180 | d7 16 7e fd 57 7e 45 02 b4 5f fc 85 7f 7d b3 eb ba 93 9a a2 5c 27 08 82 2a 08 52 ce ca 59 25 45 | ..~.W~E.._...}......\'..*.R..Y%E |
| 01a0 | 56 73 93 93 53 08 a2 20 99 56 2e 67 18 66 51 d7 f5 42 75 a8 4a 14 45 04 61 00 40 92 08 88 92 24 | Vs..S....V.g.fQ..Bu.J.E.a.@....$ |
| 01c0 | 4a 92 28 0f 0d 0d 43 92 00 09 9e e7 11 47 51 fa 19 c8 8c 40 44 9c 24 97 36 c0 04 1a f5 3a be ef | J.(...C......GQ....@D.$.6....:.. |
| 01e0 | 8b 27 4f 9e 28 01 c6 76 5f b3 7e 62 60 00 06 d8 6a 68 c0 a8 ef 79 3f e1 79 de 77 9d 3d 3b ab 69 | .'O.(..v_.~b`...jh...y?.y.w.=;.i |
| 0200 | 9a c6 e8 c8 08 86 69 20 29 0a 7b a6 a7 51 55 95 52 b9 8c 95 cb 63 e5 72 e8 9a 82 2c 4a 98 a6 89 | ......i.).{..QU.R....c.r...,J... |
| 0220 | 2c cb a8 aa 8a ae eb 48 b2 4c 65 68 18 41 10 10 45 11 55 91 11 45 11 51 10 7a af 69 aa 8a 2c 5f | ,......H.Leh.A..E.U..E.Q.z.i..,_ |
| 0240 | da a3 9e 24 09 9f fb dc 67 99 9d 9d 55 1e 7e ec f1 03 c0 53 db 7d c1 fa 89 81 01 18 60 4b f1 c0 | ...$....g...U.~....S.}......`K.. |
| 0260 | d7 bf 66 01 33 71 1c 97 e2 38 91 ff f3 7f fe cf e4 72 39 2c 2b 87 aa aa 28 8a 82 a2 28 e9 64 d6 | ..f.3q...8.......r9,+...(...(.d. |
| 0280 | 54 64 59 41 96 65 24 29 9d d4 b2 24 23 88 22 a2 28 22 49 12 82 28 a0 69 3a 40 6f c2 0b 02 08 08 | TdYA.e$)...$#.".("I..(.i:@o..... |
| 02a0 | e7 bd 26 8a c2 a5 0d 30 81 91 d1 31 1c d7 db ee 4b b5 25 18 18 80 01 b6 14 ad 56 4b 05 86 92 24 | ..&....0...1....K.%.......VK...$ |
| 02c0 | 31 92 24 91 be fb bb bf 87 62 a9 74 c9 2b f4 56 20 5f 28 90 cb e5 b6 7b 18 5b 82 9d 73 d5 07 b8 | 1.$......b.t.+.V._(....{.[..s... |
| 02e0 | 26 f0 95 af 7d 0d 80 bd 7b f7 53 29 57 50 35 6d 47 4d fe 6b 0d 83 2b 3f c0 96 62 78 64 54 01 ca | &...}...{.S)WP5mGM.k..+?..bxdT.. |
| 0300 | a6 65 a9 8a ac 20 08 e7 bb e6 49 92 70 fa d4 29 82 20 48 03 7b 02 80 80 20 8a 1d 20 8a a3 28 4e | .e........I.p..)..H.{.........(N |
| 0320 | 23 fc 31 49 9c 06 fe 00 10 84 f4 73 dd c3 09 42 00 42 28 08 82 7b c1 09 a4 84 44 0b 83 50 8b a2 | #.1I.......s...B.B(..{....D..P.. |
| 0340 | 48 39 70 f0 80 a9 aa 9a a0 aa ea 86 cf 64 31 c5 6b 00 03 03 30 c0 96 e2 c8 f5 d7 17 81 a3 a2 24 | H9p..........d1.k...0..........$ |
| 0360 | 57 04 41 3c cf 00 74 53 77 7f f4 b1 8f 52 5b 5b 23 0a c3 74 4f 2f 8a d4 1a ad 53 9e ef 75 5a f5 | W.A<..tSw....R[[#..tO/....S..uZ. |
| 0380 | 9a 1f 85 01 81 ef e3 bb 59 c4 5f 20 dd e7 cb 72 76 3c 81 66 bb bd da 6a b7 9b cf bf 78 e2 cc c6 | ........Y._....rv<.f...j....x... |
| 03a0 | f3 e7 73 39 63 ef 9e c9 49 59 92 26 24 51 1c fa ed df fd fd 43 63 63 63 ca e8 d8 d8 79 e3 b8 56 | ..s9c...IY.&$Q......Cccc....y..V |
| 03c0 | 2c c0 c0 00 0c b0 a5 58 5b 59 01 60 74 6c 1c 5d d7 d8 b8 fe 47 51 44 14 45 cc cd ce 3e bd bc bc | ,......X[Y.`tl.]....GQD.E...>... |
| 03e0 | b4 38 35 39 f5 c9 0d 6f d7 80 10 88 2e f1 54 2e e0 03 ad 0b 5e 97 01 4b d3 f4 db 65 49 ba 0e 92 | .859...o......T.....^..K...eI... |
| 0400 | e9 30 0c 95 f3 be e8 3a 38 8e 83 a6 a4 2f 7b 41 b0 dd 97 ad 6f 18 18 80 01 b6 14 cd 46 1d 80 b1 | .0.....:8..../{A....o.......F... |
| 0420 | b1 71 54 45 81 0d 1e 40 1c c7 44 51 c8 ec ec ec 99 e3 c7 5e 7c fa 4f ff ec d3 ff 75 b3 cf df 6a | .qTE...@..DQ.......^|.O....u...j |
| 0440 | b7 79 ea d9 e7 79 d7 bd f7 02 88 40 18 5d 50 24 14 f8 3e be ef a1 c8 12 f0 da 36 00 e2 76 0f 60 | .y...y.....@.]P$..>.......6..v.` |
| 0460 | 80 6b 0b ab ab 35 56 57 6b 88 a2 80 69 1a 2f f1 00 82 20 c0 d0 0d 72 56 be af e3 48 e2 50 4f e2 | .k...5VWk...i./.......rV...H.PO. |
| 0480 | b0 28 89 a2 28 49 d2 79 ef 79 be 8f 1f 04 98 86 81 69 bc a6 eb 80 06 1e c0 00 5b 8b 6e 25 9f 20 | .(..(I.y.y.......i........[.n%.. |
| 04a0 | 8a 69 f4 ff bc 20 60 5a ba 8b 20 f8 49 92 f4 75 d9 0d 82 40 00 c4 6e 4d c1 46 c4 71 4c 1c c7 d7 | .i....`Z....I..u...@..nM.F.qL... |
| 04c0 | 44 76 e2 b5 ff 0b 07 d8 51 e8 38 0e 00 b2 ac 60 18 e6 79 ef a5 5b 80 88 20 8e 97 3b 9e b7 da cf | Dv......Q.8....`..y..[.....;.... |
| 04e0 | 71 d4 56 d2 c3 ab 8a c2 79 19 00 c0 0f 02 fc 20 20 9f cf 6a 01 96 57 b6 fb b2 f5 0d 03 03 30 c0 | q.V.....y..........j..W.......0. |
| 0500 | 96 42 37 4c 09 30 54 55 93 54 55 3b 2f 0b e0 fb 3e 76 a7 83 e7 3a 8d 76 bb d9 ec e7 38 1c 3f cd | .B7L.0TU.TU;/...>v...:.v....8.?. |
| 0520 | 0e aa aa fa 12 03 10 84 21 61 18 26 8a a2 7a a4 81 c7 d7 2c 06 06 60 80 2d 85 a6 e9 12 a0 2b 8a | ........!a.&..z....,..`.-.....+. |
| 0540 | 22 bd 64 e2 f9 01 8e ed e0 ba 76 ab d1 58 6f 5d d9 19 2e 0d 8e 9f 96 fa 2a 59 f9 f1 46 84 61 48 | ".d.......v..Xo]........*Y..F.aH |
| 0560 | 18 46 89 3c 30 00 03 0c b0 b9 d8 3b 35 59 02 5e 5f 2a 97 86 2a d5 ea 79 1e 80 6d 77 a8 ad ad 31 | .F.<0......;5Y.^_*..*..y..mw...1 |
| 0580 | 5c ae 72 60 7a 1f 8f 3c f5 6c df c6 31 31 31 59 06 f6 68 ba 2e 69 ba 7e de 7b eb b5 1a 2b cb 4b | \.r`z..<.l..111Y..h..i.~.{...+.K |
| 05a0 | c1 b1 13 c7 9f 01 16 b7 fb 9a f5 13 03 03 30 c0 96 42 14 45 09 30 45 51 92 2e 0c b2 45 61 84 1f | ..............0..B.E.0EQ....Ea.. |
| 05c0 | 78 98 a6 49 b1 58 ec eb 38 34 55 53 81 9c 20 88 a2 20 9c 1f 04 f4 3d 1f cf f3 12 df f7 5c 5e e3 | x..I.X..84US..........=......\^. |
| 05e0 | 1e c0 20 0d 38 c0 96 c2 b6 6d 6c db 26 89 23 24 e9 fc 4a 40 d7 73 69 b5 5a ec 9b 99 e1 d6 d7 bd | ....8....ml.&.#$..J@.si.Z....... |
| 0600 | be af e3 28 5a 56 b5 68 59 fb 93 38 7e c9 22 d8 6a 35 68 35 eb 8c 54 4a 8c 54 4a db 7d c9 fa 8a | ...(ZV.hY..8~.".j5h5..TJ.TJ.}... |
| 0620 | 81 07 30 c0 96 c2 f7 ba 6d b6 09 f2 05 f9 f7 28 8a f1 83 90 8e ed 9c 5c 5e 59 39 73 f9 47 bf 74 | ..0.....m......(.......\^Y9s.G.t |
| 0640 | 08 af d0 1e ec fb 01 9e 1f 50 29 57 00 98 5d 5a db de 8b d6 47 0c 0c c0 00 5b 0a cf 3b d7 9b 23 | pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
xmlns:keyboard="clr-namespace:Tango.Touch.Keyboard"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:local="clr-namespace:Tango.Touch.Controls">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Resources/Colors.xaml" />
<ResourceDictionary Source="../Resources/Fonts.xaml" />
<ResourceDictionary Source="../Styles/TouchButton.xaml" />
<ResourceDictionary Source="../Styles/TouchIconButton.xaml" />
<ResourceDictionary>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
<converters:NullObjectToBooleanConverter x:Key="NullObjectToBooleanConverter" />
</ResourceDictionary>
</ResourceDictionary.MergedDictionaries>
<Style x:Key="TangoMessageBoxTitle" TargetType="TextBlock">
<Setter Property="FontSize" Value="{StaticResource TangoMessageBoxTitleFontSize}"></Setter>
<Setter Property="Foreground" Value="{StaticResource TangoPrimaryAccentBrush}"></Setter>
</Style>
<Style TargetType="local:TouchPanel">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="local:TouchPanel">
<Border Background="{TemplateBinding Background}">
<Grid>
<keyboard:KeyboardView>
<Grid>
<DockPanel>
<ContentControl DockPanel.Dock="Top" Content="{TemplateBinding TaskBarElement}"></ContentControl>
<!--Notification Bar-->
<local:TouchNotificationBar NotificationBarVisibility="{TemplateBinding NotificationBarVisibility}" NotificationTemplate="{TemplateBinding NotificationTemplate}" HasNotifications="{TemplateBinding HasNotifications}" Notifications="{TemplateBinding Notifications}" ItemExpandedPropertyPath="{TemplateBinding ItemExpandedPropertyPath}">
<Grid>
<!--Content-->
<ContentPresenter Content="{TemplateBinding Content}" />
</Grid>
</local:TouchNotificationBar>
</DockPanel>
<!--Combo Box PopUp-->
<Grid Background="#9E000000" x:Name="PART_combobox_grid">
<Grid.Style>
<Style TargetType="Grid">
<Setter Property="Opacity" Value="0"></Setter>
<Setter Property="Visibility" Value="Hidden"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentComboBox,Converter={StaticResource NullObjectToBooleanConverter}}" Value="True">
<Setter Property="Visibility" Value="Visible"></Setter>
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation To="1" Storyboard.TargetProperty="Opacity" Duration="00:00:0.2" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<Grid DataContext="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentComboBox}" VerticalAlignment="Center" HorizontalAlignment="Center">
<Border Background="{StaticResource TangoPrimaryBackgroundBrush}" CornerRadius="5" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" />
</Border.Effect>
<Grid ClipToBounds="True">
<DockPanel>
<Grid DockPanel.Dock="Top">
<Border CornerRadius="5 5 0 0" Background="{StaticResource TangoPopupTitleBackgroundBrush}" BorderBrush="{StaticResource TangoGrayBrush}" BorderThickness="0 0 0 1" Padding="30">
<TextBlock DockPanel.Dock="Top" Text="{Binding Title}" FontSize="{StaticResource TangoComboBoxTitleFontSize}" FontWeight="SemiBold"></TextBlock>
</Border>
<local:TouchIconButton x:Name="PART_comboboxCloseButton" Background="Transparent" Padding="35" Style="{StaticResource TangoRoundTouchIconButton}" Command="{Binding CloseCommand}" CommandParameter="{Binding}" HorizontalAlignment="Right" MaxHeight="90" Width="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}" Icon="Close" Foreground="{StaticResource TangoDarkForegroundBrush}" Opacity="0.5" />
</Grid>
<local:TouchListBox x:Name="PART_ComboBoxList" Width="{Binding MinPopupWidth}" Height="{Binding MinPopupHeight}" ItemSelectedCommand="{Binding RelativeSource={RelativeSource AncestorType=local:TouchPanel},Path=ComboBoxPickedCommand}" ItemsSource="{Binding ItemsSource}" SelectedItem="{Binding SelectedItem,Mode=TwoWay}" SelectionMode="None" ItemTemplate="{Binding ItemTemplate}" ValuePath="{Binding ValuePath}" VerticalAlignment="Top" >
</local:TouchListBox>
</DockPanel>
</Grid>
</Border>
</Grid>
</Grid>
<!--Date Picker-->
<Grid Background="#9E000000" x:Name="PART_datepicker_grid">
<Grid.Style>
<Style TargetType="Grid">
<Setter Property="Opacity" Value="0"></Setter>
<Setter Property="Visibility" Value="Hidden"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDatePicker,Converter={StaticResource NullObjectToBooleanConverter}}" Value="True">
<Setter Property="Visibility" Value="Visible"></Setter>
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation To="1" Storyboard.TargetProperty="Opacity" Duration="00:00:0.2" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<Grid DataContext="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDatePicker}" VerticalAlignment="Center" HorizontalAlignment="Center">
<Border Background="{StaticResource TangoPrimaryBackgroundBrush}" CornerRadius="5" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center">
<Border.Effect>
<DropShadowEffect BlurRadius="10" />
</Border.Effect>
<DockPanel>
<StackPanel Margin="0 40 0 10" DockPanel.Dock="Bottom" HorizontalAlignment="Right" Orientation="Horizontal">
<local:TouchButton Command="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CancelDateCommand}" Width="120" Margin="2 0" Style="{StaticResource TangoMessageBoxButton}">CANCEL</local:TouchButton>
<local:TouchButton Command="{Binding RelativeSource={RelativeSource TemplatedParent},Path=DateSelectedCommand}" Width="120" Margin="2 0" Style="{StaticResource TangoMessageBoxButton}">OK</local:TouchButton>
</StackPanel>
<Viewbox Width="470" Stretch="Uniform">
<local:TouchCalendar Width="370" x:Name="PART_calendar" Focusable="False"
SelectedDate="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDatePicker.SelectedDate,Mode=OneWay}"
DisplayDateStart="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDatePicker.DisplayDateStart,Mode=OneWay}"
DisplayDateEnd="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDatePicker.DisplayDateEnd,Mode=OneWay}"/>
</Viewbox>
</DockPanel>
</Border>
</Grid>
</Grid>
<!--Dialogs-->
<Grid>
<Grid.Style>
<Style TargetType="Grid">
<!--<Setter Property="Opacity" Value="0"></Setter>-->
<Setter Property="Visibility" Value="Hidden"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent},Path=HasDialog}" Value="True">
<Setter Property="Visibility" Value="Visible"></Setter>
<!--<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation To="1" Storyboard.TargetProperty="Opacity" Duration="00:00:0.2" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>-->
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<Grid Background="#9E000000">
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseDown">
<i:InvokeCommandAction Command="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDialog.DataContext.CloseCommand}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Grid>
<Border Background="{StaticResource TangoPrimaryBackgroundBrush}" CornerRadius="5" Padding="10" HorizontalAlignment="Center" VerticalAlignment="Center">
<Border.Effect>
<DropShadowEffect BlurRadius="10" />
</Border.Effect>
<ContentPresenter Content="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentDialog}" />
</Border>
</Grid>
<!--Messages-->
<Grid Background="#9E000000">
<Grid.Style>
<Style TargetType="Grid">
<!--<Setter Property="Opacity" Value="0"></Setter>-->
<Setter Property="Visibility" Value="Hidden"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent},Path=HasMessageBox}" Value="True">
<Setter Property="Visibility" Value="Visible"></Setter>
<!--<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation To="1" Storyboard.TargetProperty="Opacity" Duration="00:00:0.2" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>-->
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<Grid Height="400" Margin="20" RenderTransformOrigin="0.5,0.5">
<Grid.Style>
<Style TargetType="Grid">
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="0" ScaleY="0" />
</Setter.Value>
</Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent},Path=HasMessageBox}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="0" To="1" Duration="00:00:0.1" />
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="0" To="1" Duration="00:00:0.1" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
<DataTrigger.ExitActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="0" Duration="00:00:0.1" />
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="0" Duration="00:00:0.1" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.ExitActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<Border DataContext="{Binding RelativeSource={RelativeSource TemplatedParent},Path=CurrentMessageBox}" Background="{StaticResource TangoPrimaryBackgroundBrush}" CornerRadius="5" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" />
</Border.Effect>
<Grid ClipToBounds="True">
<DockPanel>
<Grid DockPanel.Dock="Top">
<Border CornerRadius="5 5 0 0" Background="{StaticResource TangoPopupTitleBackgroundBrush}" BorderBrush="{StaticResource TangoGrayBrush}" BorderThickness="0 0 0 1" Padding="30">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<local:TouchIcon Width="24" Height="24" Icon="{Binding Icon}" Margin="0 0 20 0" Foreground="{Binding Brush}" />
<TextBlock Text="{Binding Title}" FontSize="{StaticResource TangoMessageBoxTitleFontSize}" FontWeight="Normal"></TextBlock>
</StackPanel>
</Border>
<local:TouchIconButton Background="Transparent" Padding="35" Style="{StaticResource TangoRoundTouchIconButton}" Command="{Binding CloseCommand}" CommandParameter="{Binding}" HorizontalAlignment="Right" MaxHeight="90" Width="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}" Icon="Close" Foreground="{StaticResource TangoDarkForegroundBrush}" Opacity="0.5" />
</Grid>
<StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" HorizontalAlignment="Center" Height="50" Margin="0 0 0 40">
<local:TouchButton x:Name="btnCancel" FontWeight="Normal" CornerRadius="25" Width="220" FontSize="{StaticResource TangoMessageBoxButtonFontSize}" Margin="0 0 30 0" Style="{StaticResource TangoHollowButton}" Command="{Binding CloseCommand}" Visibility="{Binding HasCancel,Converter={StaticResource BooleanToVisibilityConverter}}">CANCEL</local:TouchButton>
<local:TouchButton x:Name="btnOK" FontWeight="Normal" Width="220" CornerRadius="25" FontSize="{StaticResource TangoMessageBoxButtonFontSize}" Margin="30 0 0 0" Style="{StaticResource TangoHollowButton}" Command="{Binding OKCommand}">OK</local:TouchButton>
</StackPanel>
<TextBlock FontSize="{StaticResource TangoMessageBoxMessageFontSize}" Text="{Binding Message}" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"></TextBlock>
</DockPanel>
</Grid>
</Border>
</Grid>
</Grid>
<!--Busy-->
<Grid Background="#9E000000">
<Grid.Style>
<Style TargetType="Grid">
<Setter Property="Visibility" Value="Hidden"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent},Path=IsBusy}" Value="True">
<Setter Property="Visibility" Value="Visible"></Setter>
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<Grid Height="360" Margin="20" RenderTransformOrigin="0.5,0.5">
<Grid.Style>
<Style TargetType="Grid">
<Setter Property="RenderTransform">
<Setter.Value>
<ScaleTransform ScaleX="0" ScaleY="0" />
</Setter.Value>
</Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent},Path=IsBusy}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="0" To="1" Duration="00:00:0.1" />
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="0" To="1" Duration="00:00:0.1" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
<DataTrigger.ExitActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="0" Duration="00:00:0.1" />
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="0" Duration="00:00:0.1" />
</Storyboard>
</BeginStoryboard>
</DataTrigger.ExitActions>
</DataTrigger>
</Style.Triggers>
</Style>
</Grid.Style>
<Border Background="{StaticResource TangoPrimaryBackgroundBrush}" CornerRadius="5" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" />
</Border.Effect>
<Grid ClipToBounds="True">
<DockPanel>
<Grid DockPanel.Dock="Top">
<Border CornerRadius="5 5 0 0" Background="{StaticResource TangoPopupTitleBackgroundBrush}" BorderBrush="{StaticResource TangoGrayBrush}" BorderThickness="0 0 0 1" Padding="30">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<local:TouchIcon Width="24" Height="24" Icon="ProgressClock" Margin="0 0 20 0" Foreground="{StaticResource TangoPrimaryAccentBrush}" />
<TextBlock Text="Working" FontSize="{StaticResource TangoMessageBoxTitleFontSize}" FontWeight="Normal"></TextBlock>
</StackPanel>
</Border>
</Grid>
<local:TouchBusyIndicator DockPanel.Dock="Bottom" Margin="0 0 0 40" IsIndeterminate="{Binding RelativeSource={RelativeSource TemplatedParent},Path=IsBusy}" Width="100" Height="100"></local:TouchBusyIndicator>
<TextBlock FontSize="{StaticResource TangoMessageBoxMessageFontSize}" Text="{Binding RelativeSource={RelativeSource TemplatedParent},Path=BusyMessage}" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"></TextBlock>
</DockPanel>
</Grid>
</Border>
</Grid>
</Grid>
</Grid>
</keyboard:KeyboardView>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>