我在我的项目中使用了一个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
那么,为什么你不能在这里发布你的代码? –