こんにちは。
Windows10でUWPのアプリケーションを開発しています。
Visual Studio 2015 Communityを使っています。
###前提・実現したいこと
画面の最上部の1行の名前を知りたいです。
###試したこと
下記のコードでテキストを表示し、実機で表示を確認しました。
###発生している問題・エラーメッセージ
Visual Studioでは画面いっぱいに表示しているbackgroundが、実機では最上部にタイトル(?)のような部分を空けて表示します。
これを表示したくないのですが、名前がわからず調べられません。
ご示唆ください。
###該当のソースコード
xaml
1<Page 2 x:Class="MyNote.MainPage" 3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 4 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 5 xmlns:local="using:MyNote" 6 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 7 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 8 mc:Ignorable="d" 9 > 10 11 <Grid > 12 <Grid.Background> 13 <ImageBrush x:Name="BackgroundImage" Stretch="Fill" ImageSource="Assets/background.png"/> 14 </Grid.Background> 15 <TextBox x:Name="textBox" Margin="10,10,10, 10" TextWrapping="Wrap" Background="Transparent" BorderThickness="0"/> 16 </Grid> 17</Page> 18
###補足情報(言語/FW/ツール等のバージョンなど)
Microsoft Visual Studio Community 2015
Version 14.0.25424.00 Update 3
Microsoft .NET Framework
Version 4.6.01038
インストールしているバージョン:Community
Visual C# 2015 00322-20000-00000-AA575
Microsoft Visual C# 2015
です。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/11/21 00:19
2016/11/21 12:07
2016/11/21 15:24
2016/11/22 09:52