Touchgui/plugins/org.apache.cordova.dialogs/src/wp/NotificationBox.xaml

changeset 0
e8ccd40d0ef6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Touchgui/plugins/org.apache.cordova.dialogs/src/wp/NotificationBox.xaml	Thu Jun 04 14:50:33 2015 +0200
     1.3 @@ -0,0 +1,79 @@
     1.4 +<!--
     1.5 + Licensed to the Apache Software Foundation (ASF) under one
     1.6 + or more contributor license agreements.  See the NOTICE file
     1.7 + distributed with this work for additional information
     1.8 + regarding copyright ownership.  The ASF licenses this file
     1.9 + to you under the Apache License, Version 2.0 (the
    1.10 + "License"); you may not use this file except in compliance
    1.11 + with the License.  You may obtain a copy of the License at
    1.12 +
    1.13 +   http://www.apache.org/licenses/LICENSE-2.0
    1.14 +
    1.15 + Unless required by applicable law or agreed to in writing,
    1.16 + software distributed under the License is distributed on an
    1.17 + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    1.18 + KIND, either express or implied.  See the License for the
    1.19 + specific language governing permissions and limitations
    1.20 + under the License. 
    1.21 +-->
    1.22 +<UserControl x:Class="WPCordovaClassLib.Cordova.UI.NotificationBox"
    1.23 +    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    1.24 +    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    1.25 +    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    1.26 +    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    1.27 +    mc:Ignorable="d"
    1.28 +    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    1.29 +    FontSize="{StaticResource PhoneFontSizeNormal}"
    1.30 +    Foreground="{StaticResource PhoneForegroundBrush}"
    1.31 +    d:DesignHeight="800" d:DesignWidth="480" VerticalAlignment="Stretch">
    1.32 +
    1.33 +   <!--TitlePanel contains the name of the application and page title-->
    1.34 +    <Grid x:Name="LayoutRoot"
    1.35 +          Background="{StaticResource PhoneSemitransparentBrush}">
    1.36 +        <Grid.RowDefinitions>
    1.37 +            <RowDefinition Height="*"></RowDefinition>
    1.38 +        </Grid.RowDefinitions>
    1.39 +
    1.40 +        <Grid x:Name="TitlePanel" 
    1.41 +            Grid.Row="0"
    1.42 +            VerticalAlignment="Top"
    1.43 +            Background="{StaticResource PhoneSemitransparentBrush}">
    1.44 +            <Grid.RowDefinitions>
    1.45 +                <RowDefinition Height="Auto"></RowDefinition>
    1.46 +                <RowDefinition Height="*"></RowDefinition>
    1.47 +                <RowDefinition Height="Auto"></RowDefinition>
    1.48 +            </Grid.RowDefinitions>
    1.49 +
    1.50 +            <TextBlock x:Name="PageTitle" 
    1.51 +                       Text="Title" 
    1.52 +                       Margin="10,10" 
    1.53 +                       Grid.Row="0"
    1.54 +                       Style="{StaticResource PhoneTextTitle2Style}"/>
    1.55 +            
    1.56 +            <ScrollViewer x:Name="ContentScroller"
    1.57 +                          Grid.Row="1"
    1.58 +                          MinHeight="120"
    1.59 +                          Margin="10,10">
    1.60 +                <StackPanel Orientation="Vertical">
    1.61 +                    <TextBlock x:Name="SubTitle" 
    1.62 +                               Text="Subtitle" 
    1.63 +                               Width="Auto"
    1.64 +                               TextWrapping="Wrap"
    1.65 +                               Style="{StaticResource PhoneTextTitle3Style}"/>
    1.66 +                    <TextBox x:Name="InputText" 
    1.67 +                             Visibility="Collapsed"/>
    1.68 +                </StackPanel>
    1.69 +            </ScrollViewer>
    1.70 +
    1.71 +            <ScrollViewer HorizontalScrollBarVisibility="Auto" 
    1.72 +                          Grid.Row="2"
    1.73 +                          VerticalScrollBarVisibility="Disabled">       
    1.74 +                <StackPanel x:Name="ButtonPanel"
    1.75 +                            Margin="10,10"
    1.76 +                            Orientation="Horizontal"/>
    1.77 +            </ScrollViewer>
    1.78 +
    1.79 +    </Grid>
    1.80 +    </Grid>
    1.81 +
    1.82 +</UserControl>

mercurial