ModernWpf VS CSharpForMarkup

Compare ModernWpf vs CSharpForMarkup and see what are their differences.

ModernWpf

Modern styles and controls for your WPF applications (by Kinnara)

CSharpForMarkup

Concise, declarative C# UI markup for .NET browser / native UI frameworks (by VincentH-Net)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ModernWpf CSharpForMarkup
23 7
4,213 709
- -
8.7 8.5
about 1 month ago 4 days ago
C# C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ModernWpf

Posts with mentions or reviews of ModernWpf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-01.

CSharpForMarkup

Posts with mentions or reviews of CSharpForMarkup. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-14.
  • .NET 8 – .NET Blog
    12 projects | news.ycombinator.com | 14 Nov 2023
    It's a bit of a hit and miss as of today. CLI, back-end and natively compiled libraries (think dll/so/dylib or even .lib/.a - you can statically link NAOT binaries into other "unmanaged" code) work best, GUI - requires more work.

    Avalonia[0] and MAUI[1] have known working templates with it, but YMMV.

    [0] https://github.com/lixinyang123/AvaloniaAOT / https://github.com/AvaloniaUI/Avalonia/ / honorable mention https://github.com/VincentH-Net/CSharpForMarkup

    [1] https://github.com/dotnet/maui (try out with just true in csproj - it is known to work e.g. on iOS)

  • State of mobile app development within the .NET ecosystem?
    2 projects | /r/dotnet | 2 May 2023
    Uno Platform can be both XAML or C# Markup if you use https://github.com/VincentH-Net/CSharpForMarkup with it.
  • Modern C# software development framework
    4 projects | /r/csharp | 31 Mar 2023
    And if you use https://github.com/VincentH-Net/CSharpForMarkup with it, you can have an all-around C# approach for both front end and back end.
  • What are your gripes with XAML?
    3 projects | /r/dotnet | 6 Mar 2023
    Maybe some c# markup libraries like this one. But I haven't use that so you'd need to check yourself
  • Uno platform: build single-codebase applications across all platforms
    7 projects | news.ycombinator.com | 16 Aug 2022
    You can CSharpForMarkup with WPF, WinUI 3, Uno Platform. with AvaloniaUI and Maui coming and possibly Blazor.

    https://github.com/VincentH-Net/CSharpForMarkup

  • Performance Improvements in .NET 6
    14 projects | news.ycombinator.com | 19 Aug 2021
    To manage mental mapping of what is being drawn, I keep methods that create widget trees short. My rule of thumb is that whole method has to comfortably fit the screen at once. For each section of the main tree I create a static function that returns a branch of the tree. These functions have descriptive names that help you visualize what element each function builds. If a tree inside a function is long, it is broken down in the same way.

    There are some fluent extensions (for Xamarin.Forms and probably future MAUI) that help you build UI in declarative fashion with C#. Same extensions could be created for other frameworks.

    https://devblogs.microsoft.com/xamarin/c-sharp-markup-for-xa...

    https://github.com/VincentH-Net/CSharpForMarkup

    For reusable custom widgets that can't be done with a static function, I create new classes with their own widget trees. Try to keep widgets composable and avoid inheritance if possible.

    Hot reload is coming in .NET 6, so waiting for rebuild will soon be history.

    I have no experience with QML so I can't really comment on that.

  • What's a Modern Technology Used For Building Desktop Programs?
    2 projects | /r/dotnet | 16 Aug 2021
    If I were to build a windows only desktop app with technology I was moderately familiar with, I'd probably got for WPF + https://github.com/VincentH-Net/CSharpForMarkup Working without XAML makes life so much simpler.

What are some alternatives?

When comparing ModernWpf and CSharpForMarkup you can also consider the following projects:

AdonisUI - Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals

Avalonia.FuncUI - Develop cross-plattform GUI Applications using F# and Avalonia!

MaterialDesignInXamlToolkit - Google's Material Design in XAML & WPF, for C# & VB.Net.

Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.

MahApps.Metro - A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.

mobile - The mobile app vault (iOS and Android).

CalcBinding - Advanced WPF Binding which supports expressions in Path property and other features

HandyControl - Contains some simple and commonly used WPF controls

wpfui - WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.

Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.

GenshinLyreMidiPlayer - Genshin Impact Windsong Lyre, Floral Zither, & Vintage Lyre MIDI auto player in Modern Mica UI. Supports MIDI instruments & Playlist controls.

trava-jdk-11-dcevm - dcevm-11 built on Travis