Archive for June 2014

Windows store app prism startup or first launching page change

In App.xaml.cs file you can see the below method which contains navigation service code that is responsible to set start up page. If you have MainPage.xaml page in Views folder the below code is used to set as start up page. protected override Task.
Saturday, 28 June 2014
Posted by Sudhir Chekuri

Windows Store app prism Navigation from one page or view to other

In prism to navigate from one page to other Navigation Service is used. Every page you create in prism should be suffixed by Page but it is not considered as page name. For example: Under view folder create a view - Right click on Views folder.
Posted by Sudhir Chekuri

Windows store app xaml c# Installing prism template and Creating first app

Prism is from Microsoft Patterns and Practises.It is used to create WPF, Silverlight and windows store apps.It provides services like loosely coupled MVVM pattern, Navigation and app life cycle management, Flyout services, validations. Prism for Windows.
Posted by Sudhir Chekuri

Visual Studio 2012 .NET Unit Testing

In this video tutorial of unit testing of C# method is explained in the most simplest way by testing a method having array as return type. Unit testing is used to check weather the method is returning the expected output or not. .
Wednesday, 25 June 2014
Posted by Sudhir Chekuri
Tag :

windows store app xaml grid with opacity

XAML code of grid with transparent black color as background. <Grid>   <Grid.Background >                 <SolidColorBrush Color="#000000" Opacity="0.7"/>          .
Posted by Sudhir Chekuri

windows store app prism xaml code for orientation landscape portrait view handling using visual state manager to change properties of controls in runtime

xaml code for handling landscape and orientations of windows store app developed using prism Note: Write the VisualStateManger Groups xaml code at the starting inside root grid in your page. Needs no C# code for handling this orientations. The.
Tuesday, 24 June 2014
Posted by Sudhir Chekuri

Windows store app list view with item template and grid inside listview with stretched horizontal alignment based on the screen size

Property ItemContainerStyle is used to add a item container style in which horizontal alignment is changed to stretch which makes the grid inside listview item to occupy the entire width of the screen. XAML code of list view with data template containing.
Monday, 23 June 2014
Posted by Sudhir Chekuri

windows store app xaml C# code with styles for left colored panel with vertical text and header with left, center and right alignment textblocks

Xaml code for left panel with vertical text, header with multiple textblocks with different alignments  <Page     x:Class="App1.MainPage"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    .
Posted by Sudhir Chekuri

how to wrap windows store app xaml button content or text

There is no wrapping property available for button content so if you want to have wrapping content inside button use textblock control inside button control. Then apply wrapping for textblock text as shown in the below xaml code. XAML Code to wrap.
Wednesday, 18 June 2014
Posted by Sudhir Chekuri

Windows store apps XAML C# Using common image as background image in all pages

Code in resource dictionary to mention an image as source to use in all pages as background image  <!--Background image for all pages-->     <ImageBrush x:Key="BgImage" ImageSource="Images/InnerBg.png"></ImageBrush> Code.
Monday, 16 June 2014
Posted by Sudhir Chekuri

windows store apps xaml global app bar button styles in resource dictionary with custom image

This code is used to add an app bar in a xaml page. That app contains 3 buttons.Appbar button inside secondary commands tag are known as global commands and are displayed on the right side of the appbar. For this three buttons styles are written in.
Posted by Sudhir Chekuri

Visual Studio TFS ( Team Foundation Server )

In TFS we can see My Work in which you can find different categories like In Progress Work Suspended Work Available Work Items Code Reviews -------- Open Query in Available Work Items is used to view work. To assign task to team mates  In.
Sunday, 15 June 2014
Posted by Sudhir Chekuri

Followers

Total Pageviews

Powered by Blogger.

- Copyright © 2013 DevStudent - Metrominimalist - Powered by Blogger - Designed by Johanes Djogan -