Tag: Create
How to Programatically Create ApplicationBar in Windows Phone ?
Are you looking to create ApplicationBar programmatically at runtime in Windows Phone ? . Below is a sample code snippet that demonstrates how to create Application Bar in Windows Phone 8 . How to Programatically Create ApplicationBar in Windows Phone ? Call this function in the constructor of the page after the InitializeComponent method.
Error – The Windows Phone Emulator wasn’t able to create the virtual machine “Windows Phone 8 Emulator”
This was one of the errors that I received when trying to install the Windows Phone 8 SDK in my Windows 8.1 system and trying to create a new project and run it. The error message was “The Windows Phone Emulator wasn’t able to create the virtual machine, something happened while creating a switch”… The Windows Phone 8 emulator has the prerequisite that the system…
How to Create an Implicit Style in Windows Phone 8 ?
In one of the previous article , we demonstrated how to create an explicit style in Windows Phone 8 for TextBlock . In this article , we will explore how one can create an implicit style in Windows Phone 8. How to Create an Implicit Style in Windows Phone 8 ? To create an Implicit style , the steps are pretty simple , don’t specify…
How to Create Extension Method in C# ?
Extension methods are great way to add a method to an existing type . A typical scenario is when you dont have the access to the sourcecode and want to add a method to the type . How to Create Extension Method in C# ? Below is a sample code snippet that demonstrates how to create an extension method for the integer type to tell…
How to Create a Text File within the Application in Windows Phone 8.1 ?
Below is a sample code that lets you to create a text file within the application local folder in Windows Phone 8.1. How to Create a Text File within the Application in Windows Phone 8.1 ?
Creating Namespace in WinJS for Windows Store App ?
When developing Windows Store App using WinJS library , there are times when you want to create a namespace . You can use the WinJS.Namespace.define() method to create a namespace. Below is a sample code snippet demonstrating how to create a namespace in WinJS for Windows Store App using WinJS. Creating Namespace in WinJS for Windows Store App ?
How to Create Comma Separated Strings from List of Strings in C#?
Below is a sample code snippet that demonstrates how one can easily create the comma separated strings from List<string> in C#. How to Create Comma Separated Strings from List of Strings in C#?
How to Create Pivot Data using LINQ in C#?
Are you looking forward to create a pivot data using LINQ in C#, here we go. How to Create Pivot Data using LINQ in C#? Below is a sample code snippet that demonstrates the creation of the Pivot Data using LINQ and C#?
How to Create ApplicationBar in Windows Phone using XAML ?
In one of the previous articles , we discussed how to create ApplicationBar programmatically during runtime using C# . This article will demonstrate how to create ApplicationBar using XAML. How to Create ApplicationBar in Windows Phone using XAML ? Below is a sample XAML code snippet which creates an ApplicationBar with one Menu Item and two ApplicationBarIconButton <phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar> <shell:ApplicationBar.MenuItems> <shell:ApplicationBarMenuItem IsEnabled=”True” Text=”ABundantCode”/> </shell:ApplicationBar.MenuItems> <shell:ApplicationBarIconButton…
How to Create an Interface in C# ?
You might need to few functionalities without defining any implementation of the abstract methods. This should later be applied to various types within your project. In this case , one can create an interface which specifies some behavior rather than what the type or member is all about. How to Create an Interface in C# ? Below is a sample interface called IMusic The interface…