Ioannis Panagopoulos blog

Tutorials on HTML5, Javascript, WinRT and .NET

Instantiating a class written in XAML from code.

by Ioannis Panagopoulos
There are some times when you want to write a specific framgent of the UI in XAML and then intantiate it in a code-behind file. This can also lead to the strange situation of being able to change the UI design completely afer the application has been compiled and shipped. Here is how such thing can... [More]

Code Snippets in Visual Studio

by Ioannis Panagopoulos
Code snippets in Visual Studio are small parts of written code that can be inserted using a specific shortcut again and again in applications. In this post I will demonstrate how to use them through an example. Suppose you find yourself writing the code below again and again in your application: i... [More]

Masked TextBox in WPF (and Keyboard in WPF)

by Ioannis Panagopoulos
Last week, I was wondering whether it is easy to implement a Masked TextBox in WPF since WPF does not have any by default. It turns out that this quest is an interesting one and consists of discovering the MaskedTextProvider .NET class and finding out how to control the Keyboard and especially the I... [More]
hire me