Tag: wpdev
What is difference between ‘Name’ and ‘x:Name’ in Xaml ?
When working with a control in Xaml (WPF/Silverlight/Windows Phone /Windows Store App) , you will notice that for a control , there are 2 options to specify the name for the control . One using “Name” property and other using “x:Name” property. What is difference between ‘Name’ and ‘x:Name’ in Xaml ? Both the properties refer to the same item . We generally use x:Name…
Application Tab in the Package Manifest file in Universal App
The Application tab in the package manifest file in the universal app lets the developers to set some of the application related information like name , description , default language etc. You can even restrict the preferred orientation of your app in this tab by selected one of the below options Landscape Portrait Landscape-flipped Portrait-flipped For a Windows Store App , you could set the…
Visual Assets Tab in Package Manifest file
The Visual Assets tab in the package manifest file lets the developers set the characteristics of the application’s title , splash screen and the images used within the application for various scenario. You will be able to specify the splash screen for your Windows Phone and Windows Store separately because the dimensions are different for phone and the tablet app. The Splash screen for the…
Creating a Simple XAML for Windows Phone 8 App
In this article, let’s have a look at how to create our first Windows Phone 8 App using the XAML for Windows Phone App template in Visual Studio 2012. Creating a Simple XAML for Windows Phone 8 App To create a XAML for Windows Phone App, follow the below step by step instructions. 1. Launch Visual Studio 2012. 2. Click File -> New -> Project….
Different Tabs in the Package Manifest file in Universal App
The package manifest file in the Windows Store App and Windows Phone app (universal app) lets the developers to describe some of the key information about the application like the name , necessary device capabilities that the app can use and the requirements for the device to install the app etc. The name of the file would generally be Package.appxmanifest. Different Tabs in the Package…
Application States in Windows Phone 8
The Windows Phone 8 supports 2 different types of Application states Transient Persistent The transient state is stored at the application level and is discarded when the application is terminated. The developers can utilize the PhoneApplicationService.State and PhoneApplicationPage.State to store the transient state data. The Persistent State is generally saved to the isolated storage and is available when the application launches.
Can Windows Phone 8 SDK be installed on 32 bit Windows 8 system?
This is one of the most frequently asked question by most of the developers. Can I install Windows Phone 8 SDK on 32 bit Windows 8 machine? The simple answer is no. The Windows Phone 8 SDK is supported on Windows 8 64 bit (x64) client versions. Know more about the Windows Phone 8 SDK prerequisites here
How to stretch ListBox Items horizontally to full width of the ListBox in Xaml ?
If you want the list items to horizontally stretch to full width of the ListBox in Xaml , you can set the HorizontalContentAlignment property to the value as shown below. How to stretch ListBox Items horizontally to full width of the ListBox in Xaml ? Below is a sample code snippet demonstrating the usage of the ItemContainerStyle of the Listbox to set the Style.
How to Pass enum as command parameter in Xaml ?
Below is a sample code snippet demonstrating how to pass enum as command parameter in Xaml. How to Pass enum as command parameter in Xaml ?
Downloading and Installing Windows Phone 8 SDK
The Windows Phone 8 SDK can be downloaded from Windows Phone Dev Centre (Microsoft Download Centre). The following tools are installed when the Windows Phone 8 SDK is installed. Visual Studio Express 2012 Microsoft Expression Blend for Windows Phone. Windows Phone Emulator Along with this, the other necessary tools like App Deployment, Windows Phone Device registration etc. are also installed. If the Visual Studio 2012…
How to run the Universal App outside Visual Studio in Windows 10 ?
The Windows Store App built using the Universal App template in Visual Studio 2013 produces the .exe file which is available in the bin folder but when you double click on this exe folder , you will get an error message stating that “This application can only run in the context of an app container.” How to run the Universal App outside Visual Studio in…
How to Change the Start-up Project in Universal App ?
When launching the universal app from Microsoft Visual Studio 2013 , you can decide to run either the Windows Phone 8.1 project or Windows Store 8.1 app . How to Change the Start-up Project in Universal App ? To change the start-up project in Universal App when launching the app locally on Windows 8.1 PC , click the dropdown button that displays “Local Machine” and…