Showing posts with label XAML. Show all posts
Showing posts with label XAML. Show all posts

Tuesday, May 14, 2013

Tips for Localizing WP8 XAML Apps - Part1

This is Part 1 of a two part series. Part 1 gives you a deeper understanding of the standard pattern for localizing a Windows Phone 8 XAML app along with a lesson learned or two. In Part 2, I describe how the powerful Multilingual App Toolkit , which has been released for the Windows Phone SDK 8.0, can make the end-to-end process of localizing your app substantially easier. So you've decided to localize your planned Windows Phone app. Perhaps you realized (or already knew) that making your app available in other languages means your app can reach a much bigger market with fewer competitors. You've read Localization best practices for Windows Phone and How to build a globalized app for Windows Phone and other content in the Globalization and localization for Windows Phone section of MSDN. You are ready to factor globalization and localization into your app design. How can you best take advantage of the Windows Phone SDK 8.0?


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8,XAML

Sunday, May 5, 2013

Design Style Programming XAML & MVVM Continued

Welcome to the Part 2 of my blog series for developing for Windows Phone. In the previous blogs we started from the Getting Started Guide, learned the importance of idea exploration and the need for sketching the idea as navigational map. Then we looked into the various tools and technologies that come as part of the Visual Studio IDE and Windows phone SDK, etc. We also explored the advantages of numerous pre designed templates available on Windows Phone platform. We looked at the options of creating games using XNA, C++ (DirectX), we also explored the section on multi resolution, capabilities, Windows live tile guidelines and icon guidelines.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML,MVVM

Understanding XAML Namescopes

I've been getting some inquires about the BindableApplicationBar sample from the Cimbalino Windows Phone Toolkit, specifically about what is the NamescopeBinding resource appearing on the top of the MainPage.xaml file.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML

Monday, April 29, 2013

Step by Step working with Windows Azure Mobile Service Data in XAML based Windows Store Apps

In this post we will take a look on working with Windows Azure Mobile Service in XAML based Windows Store Application. We will follow step by step approach to learn goodness of Windows Azure Mobile Service. In first part of post we will configure Windows Azure Mobile Service in Azure portal. In second part of post we will create a simple XAML based Windows Store application to insert records in data table. This is first post of this series and in further posts we will learn other features of Windows Azure Mobile Services.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Windows Azure Mobile Service,XAML,Windows Store Apps

Sunday, April 28, 2013

Loading dynamic XAML with template support in WP

I have thought that in the future to write more posts in English. I know that all my Swedish readers have no problem with it. Sometimes you want more flexibility to adapt the user interface for the data you download from a Web service. With dynamic loading of XAML one can both send data and a description of how this data should be displayed. With templates, you do not build the user interface and insert the data in the on the server side. One can instead bind the user interface and the data on the client side. In this article I will show you how to load XAML from a local xml file. (In reality, this xml obviously come from a Web service.) I also want to show you how to get bindings to work to show the data.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8, XAML, Dynamic XAML

Friday, March 29, 2013

Creating touch-based rotation in Win8 XAML Store apps

This article illustrates two ways of using touch or mouse input to rotate a UI element in a XAML-based Windows 8 Store app. I'm sharing this code because I believe that the corresponding official MSDN sample is too complex. Don't get me wrong: the Windows 8 gestures sample looks nice and gives a complete overview of all gestures and their mouse equivalent. But it uses three entire classes to do something that you can literally do in three lines of code. In this article, I'll describe the guidelines-compliant way of rotating an element using a two-finger gesture, but I also provide a one-finger alternative. Since not everyone has a touch screen (yet), I also give you two ways for using the mouse to rotate an element. As usual, the article comes with a downloadable sample app. It just displays two round rotatable images.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML,Window8, Window,Window Apps

Tuesday, March 26, 2013

Using XAML with DirectX and C++ in Windows Store Apps

Since Windows Vista, DirectX has been the core graphics API for the Windows platform, enabling graphics processing unit (GPU) acceleration for all OS screen-drawing operations. However, until Windows 8, DirectX developers had to roll their own UI frameworks from the ground up in native C++ and COM, or license a middleware UI package such as Scaleform. In Windows 8, you can bridge the gap between native DirectX and a proper UI framework with the DirectX-XAML interop feature of the Windows Runtime (WinRT). To take advantage of the API support for XAML in DirectX, you're required to use "native" C++ (although you have access to smart pointers and the C++ component extensions). A little basic knowledge of COM helps as well, although I'll spell out the specific interop you must perform to bring the XAML framework and DirectX operations together.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>XAML, DirectX, C++, Windows Store Apps, .Net,Architect,Intermediate,VS2010 ,Articles,Computer Tutorials

Sunday, March 17, 2013

Silverlight Dynamic Themes

In this article, we'll see how to create a truly dynamic Silverlight themeable application. In order to be able to build the companion project, you'll have to meet the following requirements..


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Silverlight Dynamic Themes,Silverlight Themes, Silverlight, Silverlight Tutorials,XAML

Sunday, March 10, 2013

Using XAML with DirectX and C++ in WindowsStoreApp

Since Windows Vista, DirectX has been the core graphics API for the Windows platform, enabling graphics processing unit (GPU) acceleration for all OS screen-drawing operations. However, until Windows 8, DirectX developers had to roll their own UI frameworks from the ground up in native C++ and COM, or license a middleware UI package such as Scaleform. In Windows 8, you can bridge the gap between native DirectX and a proper UI framework with the DirectX-XAML interop feature of the Windows Runtime (WinRT). To take advantage of the API support for XAML in DirectX, you're required to use "native" C++ (although you have access to smart pointers and the C++ component extensions). A little basic knowledge of COM helps as well, although I'll spell out the specific interop you must perform to bring the XAML framework and DirectX operations together.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C++,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML,DirectX,Window Store Application

Thursday, March 7, 2013

Create a Style Resource in Expression Blend

Creating a style is a fairly simple thing to do – if you do it in the right order. Which means, create the style first, then change the properties. You can't – not yet atleast – change lots of properties on a given control, lets say a button, and then with one click say: Ok – now export the changed properties to a style. (hopefully it will be possible one day). So when you get the chance, create the style first, then change properties. -Should you do it the other way around you have to do a bit of extra work, but in the end of the post I'll show you how to do it too.

✔ Read More...

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML,Styles,Expression Blend,Styles in Expression Blend,Style Resource in Expression Blend,Style Resource

Styles in WPF

Styles are the means using which you can implement a consistent look and behavior in WPF applications. Using styles, you can easily change the visual appearance of a control. Through styles, you can apply a set of one or more properties, resources, and so on to one or more elements. Consider a UI screen designed with plenty of controls. The controls belonging to each type, such as TextBox or Button need to look similar for overall consistency. This can be achieved through styles. The Style element is used to define styles. It has a TargetType attribute specifying the object to which the style will be applied and a Key attribute uniquely identifying the style. A Style element contains one or more Setter elements, each of which has a Property attribute and a Value attribute.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML,Styles,WPF,WPF Styles,Window Presentation Foundation

Wednesday, February 27, 2013

iPhone & iPad Keyboard Sizes

How to get the size of the on-screen keyboard on the iPhone and iPad, plus how to move the view up so the keyboard doesn't overlap fields on the lower half of the screen.

✔ Read More...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Turorial,Mobile Development Tutorials,Mobile Developments,iPad Keyboard Sizes, 
iPhone Keyboard Sizes

Telerik releases XAML-SDK at GitHub

Q1 2013 is live! Our latest and greatest XAML (WPF and Silverlight) controls are evolving rapidly but not just the binaries. Our commitment to "make the life of developers easier" has brought us the idea of creating fully developer oriented XAML Software Development Kit (SDK). This new support material is aiming at showing how to use our controls in the best and easiest way.

✔ Read More...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
Articles,Computer Tutorials, Telerik,, XAML,XAML SDK,GitHub

Tuesday, February 26, 2013

Sharing AutoToDoubleTypeConverter - Useful for a XAML control developer

A long time ago while developing a custom control, I wrote a piece of code which allows a developer to enter "Auto" as string to a custom property of type double. Yesterday, I was in a need to use the same functionality in one of my control.   That reminds me the previous implementation and fortunately I was able to get it from TFS repository. Thus I thought to share the same with you in case you need it in future.   If you are building a custom control, you might want to add a double type property to set a specific height or width of the control and in that case, you might want to give user (I mean the developer who is using this control in his/her application) the option to set "Auto" value as the Height and Width properties of Framework Element does.   If you set the string value "Auto" to your custom double type property, you will get the following error: "Cannot convert source type 'string' to target type 'double'". This is a real fact. You can not...

✔ Read More...
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials, XAML, AutoToDoubleTypeConverter

Wednesday, January 16, 2013

Internals of Dependency Property in WPF

WPF introduces new property system to us. Every WPF objects that is inherited from DependencyObject inherently supports Dependency property containers within it. That means you can define your own dependency property in your code which can take part in some of the interesting features of WPF like Binding, Styles, Triggers, Animation, Property Inheritence etc. Today I will concentrate on how Dependency Property system is actually built and what are the benefits we get instead of using CLR property system.

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,.NET, .NET 3.5, .NET 4.0, Beyondrelational, C#, Internals, Patterns, WPF, XAML

Tangrams in WPF

Tangram is a popular Chinese game, where a player is given with set of blocks and asked to form a specific shape (given an outline), there are several puzzles based on tangrams and forming square with given blocks is the most popular one, however I personally like the tangrams for 'T' and 'H' puzzles, which I came across when purchasing toys for my son. the tangram looks similar to what is shown in in figure (1)


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials, Control Templates, Path Mini Language, Resources, Styles, Thumb, Transforms, WPF, XAML

Tuesday, December 25, 2012

XAML Coding Convention

Over the past year, I have built my own coding conventions for C#. I also always manage to convince my colleagues to follow my coding convention if they don't already have one. I'm a real freak about following coding conventions; if I see someone modifying one of my files and not following my conventions, I might have trouble sleeping at night (ok, not that much, but…). With the help of the great Visual Studio add-onReSharper, it's easy to format code with rules. You only need to press Ctrl-E/Ctrl-C to format a document. ReSharper is a must have tool for Visual Studio.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML

Saturday, November 17, 2012

Performance: Measuring memory consumption of StackPanel

In this set of tests I've decided to measure the memory usage of non-virtualized StackPanel in Windows Phone 8 environment. I have also done similar tests for Windows Phone 7.1, but the numbers were slightly different. For memory measurements I have used the default 512MB WVGA emulator. First of all I have created a basic XAML page and added an ItemsControl which by default uses StackPanel for ItemsPanelTemplate. For ItemTemplate I've picked a simple rectangle control and applied a binding for a Height attribute.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML,Stackpanel

Tuesday, October 23, 2012

Building a custom control using XAML and C#

You may already know that one of the most powerful features of the Windows 8 XAML platform is the flexibility the platform provides to create custom controls. XAML provides features like Dependency Properties and Control Templates that make it easy to create feature-rich and customizable controls. In the last post, "Building a custom control using the Windows Library for JavaScript ," Jordan Matthiesen walked you through creating a custom HelloWorld control. In this post I walk you through creating that same control in Xaml. I introduce techniques and concepts that allow you to create reusable custom controls and show how to create template to style these controls. I introduce concepts like Dependency Properties and using a custom Generic.xaml file to create an implicit style that defines a default control template.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,XAML,Custom Control

Professional Windows 8 Programming with C# and XAML

It is an exciting time to be a Windows developer. The arrival of Windows 8 is a complete game changer. The operating system and its development platform offer you an entirely new way to create rich, full-featured Windows-based applications. Along with my fellow authors we you on a journey through all of the new development features of the Windows 8 platform and specifically how to utilize Visual Studio 2012 and the XAML/C# languages to produce robust apps that are ready for deployment in the new Windows Store.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Window,Window 8,XAML