Category XAML

Font Awesome Duotone icons in .NET MAUI and Xamarin.Forms

In almost all of my mobile apps, I use Font Awesome to display icons. It’s a huge library and it’s super easy to use in .NET MAUI and Xamarin.Forms. You can even use the ‘Duotone’ icons which have 2 colors… Continue Reading →

A fixed and always expanded CommandBar in UWP

Is it possible to show a CommandBar in UWP that… …is always expanded and fixed so the label of your AppBarButtons are always visible …has no ellipsis button to open or collapse it Yes, it is! I had to achieve… Continue Reading →

Simple data validation in Xamarin Forms

In this post I would like to share how I’ve implemented user input data validation in Xamarin Forms. Over the years I’ve tried a few approaches, some with success, others without. This one is an implementation I’ve used in my… Continue Reading →

Using the Fluent Design System in a minesweeper game

In this blog post I would like to show you how to use Acrylic, Reveal highlight and Connected Animations using the Fluent Design System that comes with the Fall Creators Update of Windows 10. The Fluent Design System is a… Continue Reading →

Bind to Xamarin Picker but only update value after hitting Done on iOS

Sometimes you stumble upon these gems that you didn’t know they existed. Like I did today… The ‘problem’ with the Picker You might have noticed that when you are binding to the SelectedItem of a Picker in Xamarin Forms, that on iOS… Continue Reading →

Dynamically binding RESX Resources in Xamarin Forms

Localizing your app isn’t the most fun thing to do. In the last couple of years I’ve seen and tried various ways of implementing multi language support. In this blogpost I would like to share how I recently set up localization… Continue Reading →

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… Continue Reading →

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… <TextBlock> <Run Text=”123″ /> <Run Text=”456″ /> <Run Text=”789″ /> </TextBlock> … produces… Continue Reading →

Compiled bindings gotcha – Don’t forget INotifyPropertyChanged on your interface

Intro On one of our UWP projects we ran into an issue where OneWay binding using x:Bind (compiled bindings) didn’t work. Only the initial value was shown. In the end, when I found and fixed the problem, I realized that it was… Continue Reading →

UWP Custom Control: ExpandableDetailGridView (Google Images Style GridView)

‘Google Images Style’ GridView For one of the upcoming updates of the app I’m currently working on, the designers used a grid that looks a lot like the GridView that Google uses on it’s Images search result page. It’s basically… Continue Reading →

« Older posts

© 2024 Pie Eating Ninjas' Blog — Powered by WordPress

Theme by Anders NorenUp ↑