Currently, Microsoft Windows Phone 7 SDK only releases beta versions, and there are no official books or development blogs in China. But the great Charles Petzold, a Windows Programming master, and the world's top technical writer. He has started to
All the control classes in Silverlight are subclasses of frameworkelement.The inheritance relationships of common controls in Windows Phone (os7.1) are as follows:
Object → dependencyobject → uielement → frameworkelement
Frameworkelement →
If you want to use a custom image for your application background, you can set this as follows:
... ...
Some things to note:
Make sure the image hasBuild actionSetContent.
Make sureImagesFolder is at the application root level.
In datacontext, a table is added,CodeAs follows:
/// /// Data access context /// Public Class Sysdatacontext: datacontext{ Public Static String Dbconnectionstring =" Data Source = isostore:/sys. SDF; Case Sensitive =
Address: http://www.cnblogs.com/alexis/archive/2012/03/03/2378059.html
I have been using Google Reader to subscribe to the news in the blog park, but I have been unable to spend too much time reading the latest IT information on Google Reader.
Develop Windows Phone 8 applicationsProgramSometimes, the page needs to load a lot of graphs to become very card, the solution is to use GPU for acceleration, but the SDK has provided developers with an interface, you only need to write the image
In Windows Phone development, it is inevitable that you have to interact with the server or perform local data processing. At this time, the system must have a good prompt function to tell the user not to think that the system has crashed, it's like
Windows Phone applicationProgramIn development, the dazzling animation effect can increase the user experience. The basic animations such as translation and flip involve some animations in the game. The current application requires such an effect,
Look at the code.
using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;using Microsoft.WindowsMobile.PocketOutlook;namespace ReturnCall{ class Program {
Navigation history management. The starting navigation history is managed by a navigation stack. Complete the following Navigation:Mainpage->Page1->Page2-> Page 3,In fact, a navigation stack is formed:
When you press the "back-to-back key", you
Prerequisites: the mobile phone and computer are not connected or the Zune software on the computer is disabled (the image library cannot be accessed when connected to the Zune software). Version 7.1
You can use the photchoosertask method and xNa
In the previous article, we have introduced the ability to define styles in the resources set. We can also reference other styles in one style. This is the concept of inheritance, the reference style is placed in the baseon attribute of the style.
Previously, we mentioned that WP currently supports PNG and JPEG image formats. We can set the source attribute to set the image source. Here we will talk about some attributes of the iamge element, which is stretch, opacity [Author: Shenzhou
1. namespace
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
2. Add the following code under the phoneapplicationpage root node:
3. initialize rootframe as transitionframe in
In the previous section, we have a three-dimensional space. In this section, we will get to know the most basic 3D elements-triangles.
Triangles play an important role in 3D development. It is the smallest element of a 3D model. No matter how
Last weekend, Microsoft's pattern and practice team released the final version of the Windows Phone 7 developer guide on MSDN. The Microsoft team established an open community on CodePlex to collaborate in writing this wizard. Based on this model,
// Simulate the XNA framework (any application of xna in wp7 must first simulate this type)
public class XNAAsyncDispatcher : IApplicationService { private DispatcherTimer frameworkDispatcherTimer; public
We have previously introduced how to obtain contact information by using APIs provided by Windows Phone SDK 7.1. However, there is no direct API for adding contacts. We can only use the selector (Choosers) to add contact information.SaveContactTask
We have previously introduced the Image Parsing format for Windows Phone. By parsing the image format, we can use related controls to display the image format. In Windows Phone development, whether it is the system Image control or the Image control
In Windows Phone, you can easily send network requests and obtain network data through the HttpWebRequest class. HttpWebRequest is an asynchronous operation that does not block the main thread.1. You can create an HttpWebRequest using the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.