The built-in TextBox control in UWP supports any textual input from the user, but in some cases, you might prefer to allow only plain numbers. In this article, I will show two different approaches which will allow you to do just that. Preventing non-digit input If we want to make sure no non-digit character can
I have recently come across this challenging question on Stack Overflow. The OP, my friend Touseef, tried to add Chinese translation to his UWP app via a RESW file but unfortunately failed. The system didn’t even recognize the app as supporting Chinese culture and even the built-in texts like Settings in the NavigationView stayed in
Data binding is an excellent feature of the MVVM pattern and allows you to decouple views and view models. Because Xamarin.Forms are MVVM-first, using data binding is a clear choice. However, as data binding uses reflection by default, it can have a negative impact on performance. Luckily, Xamarin.Forms support Compiled Bindings, which are akin to UWP’s x:Bind and
The Windows 10 Insider Preview build 18282 for the first time revealed a beautiful light theme of the Windows Shell (Start menu, Taskbar and Action Center). Many stock apps have already been updated to support this color scheme so in this article, we will check out how to add support for light theme task bar
It is a common request from app developers to be able to display a confirmation dialog when their app is being closed. Although this scenario is becoming less and less relevant in days of mobile apps and cloud-based data, it is still useful in specific cases. In this article we will learn how to implement
.NET Standard has ushered an era of effortless portability among different implementations of .NET and superseded Portable Class Libraries in every way. UWP supports .NET Standard 2.0 since the Fall Creators Update, but there is still one caveat that sometimes breaks debugging of Standard libraries in UWP.
Third article from my Build 2018 series focuses on day 2 of the conference. We will go through all the cool things from the first keynote, check out a few talks, get the best burger in Seattle and finish ourselves off with some yummy ice cream. Stay tuned!