Tag Archive: Windows Phone
Andreas Kuntner
12. June 2016
In the next step, let’s take a look at an approach that eliminates two of the three major disadvantages of the solution using attached properties, namely performance issues and the fact that the event to be captured must be specified…
Read more
Andreas Kuntner
3. June 2016
In this article, I’d like to present a rather simple approach towards binding user events to Viewmodel commands in XAML in a shorter way than using behaviors and event triggers: This solution makes use of attached properties for defining both…
Read more
Andreas Kuntner
25. May 2016
The recommended way of coupling user control events and Viewmodel Commands is the use of behaviors or event triggers. This approach is available for most platforms and XAML dialects, although detailed implementations differ. Let’s take a look at how to…
Read more
Andreas Kuntner
19. May 2016
One of the core features of XAML is Data Binding. The {Binding …} syntax helps us enforcing the MVVM pattern in that it allows displaying data stored in a Viewmodel to the user, and writing back data which was input…
Read more
Andreas Kuntner
2. October 2014
The short story: Have you ever tried to use any non-public property as source to a data binding? The long story: We are used to generate pairs of properties as binding source: One private back-property and one public property to…
Read more
Andreas Kuntner
23. September 2014
The short story: In a Silverlight XAML page it’s not possible to reference an event handler that is defined in the page’s base class. The long story: Imagine you have a Windows Phone Silverlight project with (at least) one page…
Read more
Andreas Kuntner
3. September 2014
This is a very short extension to the series of blog posts discussing how to work with Windows OS versions. After all the struggles and complicated workaround to get the OS version number retrieval to work for Windows Store Apps,…
Read more
Andreas Kuntner
24. July 2014
Imagine in one of your projects (no matter if Phone, Store, or even Desktop = WPF) you’ve got some status to be displayed in a TextBox. There might be an enumeration like this The text could then be bound to…
Read more
Andreas Kuntner
5. July 2014
All blog posts with a title that starts with [MVVMbasics] are related to the MVVMbasics framework. If you are only interested in my regular blog posts and not in MVVMbasics, ignore these. To list all articles covering MVVMbasics, go to…
Read more
Andreas Kuntner
21. May 2014
Data Binding is an important concept in the XAML world, mainly used for binding to Viewmodel properties, and in some cases for binding to other XAML elements by specifying ElementName=”…”. What to do if the target element has no unique…
Read more