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
String interpolation syntax introduced in C# 6 provides a convenient and readable alternative to string.Format. I have used it many times, but only recently have I learned it supports format string syntax as well, which was previously the reason I had to fall back to using string.Format. For example:
Can be written succinctly using
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
Xamarin.Forms has a built-in ListView control which offers rich cross-platform functionality including item selection. In case of UWP the color of the selected item is by default determined by the current accent color of the OS. However, it is a common requirement to customize this to better match the branding of your application. In this
Code-first migrations in Entity Framework 6 are a great tool to work with most of the time, but when they hit you with an error, they like to do so in inexplicable ways. One of those is a SerializationException during any of the EF-related commands. In this article, I will show you what helps fix
.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.