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

                  

  • 相关阅读:
    Linux下暴力破解工具Hydra详解
    LeetCode OJ--Evaluate Reverse Polish Notation
    LeetCode OJ--Valid Parentheses
    LeetCode OJ--Implement strStr()
    LeetCode OJ--Valid Palindrome
    LeetCode OJ--Remove Duplicates from Sorted List II *
    LeetCode OJ--Partition List
    LeetCode OJ--Reverse Linked List II
    LeetCode OJ--3Sum **
    LeetCode OJ--Search in Rotated Sorted Array II
  • 原文地址:https://www.cnblogs.com/gisbeginner/p/4566754.html
Copyright © 2011-2022 走看看