zoukankan      html  css  js  c++  java
  • windows phone 8.0 app 移植到windows10 app 页面类

    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 的移植

                  

  • 相关阅读:
    MYSQL分页优化查询
    13_java之final|static|包|匿名对象|代码块|内部类
    12_java之构造方法|this|super
    11_java之接口和多态
    10_java之继承和抽象类
    09_java之面向对象概述
    08_java超市管理系统
    07_java之练习题
    06_java之类概述
    05_java之方法
  • 原文地址:https://www.cnblogs.com/gisbeginner/p/4566754.html
Copyright © 2011-2022 走看看