Tag Archives: WPF

App Service communication together with Windows Universal App, WPF and Winforms Application

By | August 19, 2015

App Service is a way to communicate between apps where one app can communicate with the other app’s background task.We have already learned about How to create App Service communication in Windows Universal Apps.  In this post we will see how to access the Background task created for a Windows Universal App by the WPF/Winforms application. In this sample I… Read More »

How to Create an Attached Properties in WPF

By | October 12, 2013

Well, attached properties, just like normal properties are an object of Dependency Property, but with a very special point embedded into it. Even though the attached properties can only be added to a class which inherits from DependencyObject and also the property where it is attached to should also be a dependency property itself, an Attached property in… Read More »

Asynchrony with Dispatcher in WPF

By | September 3, 2013

The new addition of async and await have already created buzz in the city with the superior language support of calling asynchronous code that looks pretty synchronous. There are two keywords that has been introduced to handle this behavior. The async is a specifier which directs the compiler to orchestrate automatically during the compilation to change its behavior… Read More »

Application State, Suspension and Termination of Apps in WinRT

By | November 4, 2011

WinRT application model is completely different than the existing application models. The Metro style applications are meant to work differently with least user intervention on the apps. So the user for the Metro application does not need to close the application ever. The operating system takes care of memory constraint and suspend the application or even terminate the… Read More »

Writing inline Code in WPF

By | August 21, 2011

Generally when you create a WPF window, you will get two files automatically created for you. One which represents the XAML, which is stored in .XAML extension file, and another is a class which is stored in a Code-Behind file with .cs extension. But in certain scenarios, it is actually required to write your Code – behind directly… Read More »