UIElement, FrameworkElement and Control
WPF's UIElement and FrameworkElement are non-templated control base classes, which roughly equate to the Avalonia Control class. WPF's Control class on the other hand is a templated control - Avalonia's equivalent of this is TemplatedControl.
- In WPF/UWP you would inherit from the
Controlclass to create a new templated control, but in Avalonia you should inherit fromTemplatedControl. - In WPF/UWP you would inherit from the
FrameworkElementclass to create a new custom-drawn control, but in Avalonia you should inherit fromControl.
So to recap:
UIElement🠞ControlFrameworkElement🠞ControlControl🠞TemplatedControl
Avalonia XPF - Cross-Platform WPF
Take your WPF apps to macOS and Linux in minutes, not months.