Quantcast
Channel: Reflection IT Blog

Image may be NSFW.
Clik here to view.

WinUI NumberBox Control

If you write business apps, there are a lot of controls for data input: TextBox, CheckBox, ComboBox, DatePicker, ToggleSwitch, TimePicker, RadioButton, Slider, etc. I always wondered why there was no...

View Article


Image may be NSFW.
Clik here to view.

XAML Lightweight styling done right

You can customize the appearance of your apps in many ways by using the XAML framework. Styles let you set control properties and reuse those settings for a consistent appearance across multiple...

View Article


Image may be NSFW.
Clik here to view.

XAML inline RowDefinitions and ColumnDefinitions

In the XAML of WinUI3 apps you can use the inline syntax for creating Rows and Columns inside a Grid. This is a feature which Avalonia had for a long time. It is more compact and works fine as long as...

View Article

Image may be NSFW.
Clik here to view.

Accelerator keys for ContentDialog Buttons

Accelerator keys (or keyboard accelerators) are keyboard shortcuts that improve the usability and accessibility of your Windows applications by providing an intuitive way for users to invoke common...

View Article

Implement IXmlSerializable in a readonly struct

Xml serialization is really common. For a class this is done automatically, but not for your own struct. The primitive structs from Microsoft (bool, byte, short, int, long, double, decimal, etc.) don’t...

View Article


Fons Sonnemans 2023 Development Tools List

Many years ago Scott Hanselman wrote the famous Scott Hanselman Ultimate Tools List post. In 2019 I wrote my own list, now it is time for an update because there are new tools I use. I'm a Windows App...

View Article

Image may be NSFW.
Clik here to view.

System controls need BasedOn Styling in WinUI

You can customize the appearance of your apps in many ways by using the XAML framework like WPF, UWP, WinUI and MAUI. Styles let you set control properties and reuse those settings for a consistent...

View Article

Image may be NSFW.
Clik here to view.

XAML NumberBox not accepting letters

Last week there was a discussion on X (former Twitter) about the usage of the NumberBox in WinUI apps. Should it accept letter inputs or not. The 'conlusion' was that it should because you can enter...

View Article


Image may be NSFW.
Clik here to view.

Using MVVM Design Pattern in Windows Forms

The MVVM Design Pattern is mainly used in XAML enviroments like WPF, UWP, WinUI, Xamarin Forms and MAUI, because they support databinding between Controls and  Models but also between Buttons and...

View Article


Image may be NSFW.
Clik here to view.

C# 13 Params Collections

With the version 17.10.0 Preview 3.0 of Visual Studio Preview you can test some new C# 13 features. In this blog I will explain the params Collection feature as documented in this proposal. To use this...

View Article