Category Archives: C#

Sharing a Realm via a QR code using ZXing

Realm offers a nice technique to share Realms with other users using the PermissionOffer and the PermissionOfferResponse objects. The idea is that you can provide a token that an other user can use to connect to your data store. In this blogpost we will use this flow in combination with a QR code -generated by ZXing- to let an other user connect… Read More »

Trigger PropertyChanged of indexed property in Xamarin Forms

Xamarin Forms supports binding to indexed properties. But do you know how to trigger a PropertyChanged event on such a property so that the binding engine gets the updated value? Binding to indexed properties Binding to an indexed property in Xamarin Forms is simple. Imagine my ViewModel has an indexed property:

I can simply bind… Read More »

Getting rid of whitespaces between Runs in a TextBlock

The problem When we use Runs in a TextBlock in XAML, we can get these annoying whitespaces between the Runs in our application. For example, this XAML…

… produces this in our App…   You see these whitespaces in between? I know you do! If you look at the Visual Tree, you’ll see that… Read More »