QuickMarkup 0.1.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package QuickMarkup --version 0.1.10
                    
NuGet\Install-Package QuickMarkup -Version 0.1.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QuickMarkup" Version="0.1.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QuickMarkup" Version="0.1.10" />
                    
Directory.Packages.props
<PackageReference Include="QuickMarkup" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QuickMarkup --version 0.1.10
                    
#r "nuget: QuickMarkup, 0.1.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QuickMarkup@0.1.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QuickMarkup&version=0.1.10
                    
Install as a Cake Addin
#tool nuget:?package=QuickMarkup&version=0.1.10
                    
Install as a Cake Tool

QuickMarkup (ALPHA)

This project is still in Alpha. Not recommended for production use yet.

QuickMarkup is a declarative markup language that makes it easier to declare UI in C# without using XAML. Our system relies on reactivity, rather than MVVM style. Some patterns are Vue-inspired.

Currently, our full support is UWP and WinUI 3 .NET 10. Supports most other UI frameworks in C# but with some functionality becoming limited (bind two way, bind to source, and children/child node auto detection do not have full support against native components)

Introduction

QuickMarkup is divided into 3 main sections: Usings, setup, and UI.

int Counter = 0;
<root>
    <StackPanel>
        <Button Text="Click Me" @Click+=`Counter++` />
        <TextBlock
            Text=`$"You clicked {Counter} time(s)"`
            Visibility=`Counter > 0 ? Visibility.Visible : Visbility.Collapsed`
        />
    </StackPanel>
</root>

Usings and setup part are optional. Root declares the place where your UI goes.

  • Usings - declare all the imported namespace for variables and class you will use in <setup> and <root>
  • Setup - the code that will be run before UI creation. The UI will have access to all those variables you declared in <setup> tag
  • UI (<root>) - the part where your markup goes.

Usage

Real usage will be put as an attribute on C# partial class

[QuickMarkup("""
    int Counter = 0;
    <root>
        <StackPanel>
            <Button Text="Click Me" @Click+=`Counter++` />
            <TextBlock
                Text=`$"You clicked {Counter} time(s)"`
                Visibility=`Counter > 0 ? Visibility.Visible : Visbility.Collapsed`
            />
        </StackPanel>
    </root>
    """)]
public partial class CounterPage : Page;

And that's it.

Documentation

Example Project

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on QuickMarkup:

Package Downloads
QuickMarkup.UWP

QuickMarkup WinUI helpers

QuickMarkup.WinUI

QuickMarkup WinUI helpers

QuickMarkup.Uno

QuickMarkup WinUI helpers

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.17 47 7/11/2026
0.1.16 104 7/5/2026
0.1.15 423 6/13/2026
0.1.14 763 6/6/2026
0.1.13 752 6/6/2026
0.1.12-beta 114 6/5/2026
0.1.11 887 6/2/2026
0.1.10 896 6/1/2026
0.1.9 899 6/1/2026
0.1.8 891 6/1/2026
0.1.7 884 5/30/2026
0.1.6 881 5/30/2026
0.1.5 880 5/30/2026
0.1.4 879 5/30/2026
0.1.3 876 5/30/2026
0.1.1 882 5/30/2026
0.1.0 881 5/17/2026