|
1 <!-- |
|
2 Licensed to the Apache Software Foundation (ASF) under one |
|
3 or more contributor license agreements. See the NOTICE file |
|
4 distributed with this work for additional information |
|
5 regarding copyright ownership. The ASF licenses this file |
|
6 to you under the Apache License, Version 2.0 (the |
|
7 "License"); you may not use this file except in compliance |
|
8 with the License. You may obtain a copy of the License at |
|
9 |
|
10 http://www.apache.org/licenses/LICENSE-2.0 |
|
11 |
|
12 Unless required by applicable law or agreed to in writing, |
|
13 software distributed under the License is distributed on an |
|
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
|
15 KIND, either express or implied. See the License for the |
|
16 specific language governing permissions and limitations |
|
17 under the License. |
|
18 --> |
|
19 <UserControl x:Class="WPCordovaClassLib.Cordova.UI.NotificationBox" |
|
20 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
21 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
22 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
23 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
24 mc:Ignorable="d" |
|
25 FontFamily="{StaticResource PhoneFontFamilyNormal}" |
|
26 FontSize="{StaticResource PhoneFontSizeNormal}" |
|
27 Foreground="{StaticResource PhoneForegroundBrush}" |
|
28 d:DesignHeight="800" d:DesignWidth="480" VerticalAlignment="Stretch"> |
|
29 |
|
30 <!--TitlePanel contains the name of the application and page title--> |
|
31 <Grid x:Name="LayoutRoot" |
|
32 Background="{StaticResource PhoneSemitransparentBrush}"> |
|
33 <Grid.RowDefinitions> |
|
34 <RowDefinition Height="*"></RowDefinition> |
|
35 </Grid.RowDefinitions> |
|
36 |
|
37 <Grid x:Name="TitlePanel" |
|
38 Grid.Row="0" |
|
39 VerticalAlignment="Top" |
|
40 Background="{StaticResource PhoneSemitransparentBrush}"> |
|
41 <Grid.RowDefinitions> |
|
42 <RowDefinition Height="Auto"></RowDefinition> |
|
43 <RowDefinition Height="*"></RowDefinition> |
|
44 <RowDefinition Height="Auto"></RowDefinition> |
|
45 </Grid.RowDefinitions> |
|
46 |
|
47 <TextBlock x:Name="PageTitle" |
|
48 Text="Title" |
|
49 Margin="10,10" |
|
50 Grid.Row="0" |
|
51 Style="{StaticResource PhoneTextTitle2Style}"/> |
|
52 |
|
53 <ScrollViewer x:Name="ContentScroller" |
|
54 Grid.Row="1" |
|
55 MinHeight="120" |
|
56 Margin="10,10"> |
|
57 <StackPanel Orientation="Vertical"> |
|
58 <TextBlock x:Name="SubTitle" |
|
59 Text="Subtitle" |
|
60 Width="Auto" |
|
61 TextWrapping="Wrap" |
|
62 Style="{StaticResource PhoneTextTitle3Style}"/> |
|
63 <TextBox x:Name="InputText" |
|
64 Visibility="Collapsed"/> |
|
65 </StackPanel> |
|
66 </ScrollViewer> |
|
67 |
|
68 <ScrollViewer HorizontalScrollBarVisibility="Auto" |
|
69 Grid.Row="2" |
|
70 VerticalScrollBarVisibility="Disabled"> |
|
71 <StackPanel x:Name="ButtonPanel" |
|
72 Margin="10,10" |
|
73 Orientation="Horizontal"/> |
|
74 </ScrollViewer> |
|
75 |
|
76 </Grid> |
|
77 </Grid> |
|
78 |
|
79 </UserControl> |