我在我的項目中使用了一個ContentDialog,用於在Windows 10上登錄彈出窗口。 當我在移動設備上運行此項目時,ContentDialog未全屏顯示,並且有一個最小填充element.On鍵盤是可見的(在例如關注要素文本框)存在鍵盤和內容對話框ContentDialog Windows 10 Mobile XAML - FullScreen - Padding
之間保證金對全屏任何解決方案如何?我設置屬性「FullSizeDesired」爲true,mas的問題是一樣的嗎?
有人幫助消除這樣的: - 填充 - 全屏
我的代碼是:
<ContentDialog
x:Class="ExampleApp.SignInContentDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ExampleApp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="SIGN IN">
<Grid x:Name="GridMobile" VerticalAlignment="Center" HorizontalAlignment="Center">
<Button x:Name="MakeOff"
Height="32" BorderThickness="1"
HorizontalAlignment="Center"
Foreground="Red" Background="Black"
Style="{StaticResource ButtonStyle}"
Margin="0">
<HyperlinkButton x:Name="btnRegister"
Height="32" BorderThickness="1"
HorizontalAlignment="Center"
Foreground="Red" Background="Black"
Margin="0"
NavigateUri="www.google.pt"
Style="{StaticResource HyperLinkButtonStyleMobile}"
Content="Register">
<HyperlinkButton.ContentTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" />
</DataTemplate>
</HyperlinkButton.ContentTemplate>
</HyperlinkButton>
</Grid>
保證金/空間在頁面的按鈕則保留爲「PrimaryButton」和「SecondaryButton 「我認爲 但我需要更多的按鈕,這個邊際/空間不適合我。我想刪除這個。
謝謝。
你可以顯示你自定義的'ContentDialog' xaml? –
對不起,我不允許在這裏發佈圖片。 你可以給你的skypei身份證或其他與你溝通嗎? 我現在編輯這篇文章! 謝謝 – fipcurren88
那麼,爲什麼你不能在這裏發佈你的代碼? –