您的位置:首页 > 移动开发

windows phone 8.0 app 移植到windows10 app 页面类

2015-06-10 17:16 375 查看
phone:PhoneApplicationPage 全部替换为Page

phone:WebBrowser 全部替换为 WebView

IsScriptEnabled="True" 空格

SupportedOrientations="Portrait" 空格

Orientation="Portrait" 空格

Orientation="Landscape" 空格

shell:SystemTray.IsVisible="True" 空格

shell:SystemTray.IsVisible="False"

using Microsoft.Phone.Controls;

using Microsoft.Phone.Shell;

xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" 空格

xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" 空格

using System.Windows.Controls; 替换为 using Windows.UI.Xaml.Controls;

DoubleTap=" DoubleTapped=" //注意要早于Tap 的替换

Tap= IsTapEnabled="True" Tapped=

using System.Windows.Navigation; using Windows.UI.Xaml.Navigation;

using System.Windows.Media.Imaging; using Windows.UI.Xaml.Media.Imaging;

using System.Windows.Controls.Primitives; using Windows.UI.Xaml.Controls.Primitives;

using System.Windows.Media using Windows.UI.Xaml.Media;

System.Windows Windows.UI.Xaml

System.Windows.Input.GestureEventArgs TappedRoutedEventArgs

phone:Panorama Pivot

phone:Pivot Pivot

toolkit:PhoneTextBox TextBox

关于Border 的移植
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: