デフォルトのフォーム(デザイン)画面が凄く小さいのでマウスで広げると広がりますが、元のサイズが青枠で表示されます。ビルド・デバッグしても元の青枠の範囲でしか収まっていないようです。今度は元の青枠を広げてフォーム画面のサイズに合わせるもビルド・デバッグでの表示は収まってないようで変わりません。
もう一つの疑問は、ツールボックスからコントロールをいくつか(下記コード参照)フォーム画面に張り付けたのですが、表示されるのはButton以外青枠のみです。Buttonは色だけ表示されて"占う"はフォーム画面には表示されません。
なぜこう表示されるのか使い始めでわかりません。教え願います。
<Page x:Class="App2.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App2" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:rg="using:SourceChord.ResponsiveGrid" mc:Ignorable="d" Height="2523.54" Width="5394.224"> <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="10,0"> <TextBlock HorizontalAlignment="Left" Height="202" Margin="239,239,0,0" TextWrapping="Wrap" Text="今日の日付" VerticalAlignment="Top" Width="978"/> <DatePicker HorizontalAlignment="Left" Height="202" Margin="2600,239,0,0" VerticalAlignment="Top" Width="2266"/> <Button x:Name="button1" Content="占う" HorizontalAlignment="Left" Height="227" Margin="239,572,0,0" VerticalAlignment="Top" Width="4663"/> <Image HorizontalAlignment="Left" Height="763" Margin="239,918,0,0" VerticalAlignment="Top" Width="4627"/> <TextBox HorizontalAlignment="Left" Height="513" Margin="239,1824,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="4627"/> </Grid> </Page> コード
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。