This repository has been archived by the owner on Apr 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added notification alert/confirm button text. CB-110
- Loading branch information
1 parent
e58f709
commit 9e2c49d
Showing
4 changed files
with
186 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<UserControl x:Class="WP7CordovaClassLib.Cordova.UI.NotificationBox" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
FontFamily="{StaticResource PhoneFontFamilyNormal}" | ||
FontSize="{StaticResource PhoneFontSizeNormal}" | ||
Foreground="{StaticResource PhoneForegroundBrush}" | ||
d:DesignHeight="800" d:DesignWidth="480" VerticalAlignment="Stretch"> | ||
|
||
<Grid x:Name="LayoutRoot" | ||
Background="{StaticResource PhoneSemitransparentBrush}" VerticalAlignment="Stretch"> | ||
|
||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto"/> | ||
<RowDefinition Height="*"/> | ||
</Grid.RowDefinitions> | ||
|
||
|
||
<!--TitlePanel contains the name of the application and page title--> | ||
<StackPanel x:Name="TitlePanel" | ||
Grid.Row="0" | ||
Background="{StaticResource PhoneSemitransparentBrush}"> | ||
<TextBlock x:Name="PageTitle" | ||
Text="Title" | ||
Margin="10,10" | ||
Style="{StaticResource PhoneTextTitle2Style}"/> | ||
|
||
<TextBlock x:Name="SubTitle" | ||
Text="Subtitle" | ||
TextWrapping="Wrap" | ||
Margin="10,10" | ||
Style="{StaticResource PhoneTextTitle3Style}"/> | ||
|
||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled"> | ||
<StackPanel x:Name="ButtonPanel" | ||
Margin="10,10" | ||
Orientation="Horizontal"/> | ||
</ScrollViewer> | ||
|
||
</StackPanel> | ||
</Grid> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Net; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using System.Windows.Documents; | ||
using System.Windows.Input; | ||
using System.Windows.Media; | ||
using System.Windows.Media.Animation; | ||
using System.Windows.Shapes; | ||
|
||
namespace WP7CordovaClassLib.Cordova.UI | ||
{ | ||
public partial class NotificationBox : UserControl | ||
{ | ||
public NotificationBox() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters