VeloxDev.WinUI.Templates 5.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install VeloxDev.WinUI.Templates@5.0.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

VeloxDev workflow templates

These NuGet template packages provide concise dotnet new item templates for Avalonia, WPF, WinUI, and .NET MAUI. No VSIX is required.

Each platform provides node, slot, link, tree, selector, and decorator templates. Component views produce a markup file and a code-behind file, with short comments marking the main customization points.

Build

Pack one platform:

dotnet pack Src/Templates/VeloxDev.WPF.Templates/working -c Release

Pack all platforms:

$platforms = "Avalonia", "WPF", "WinUI", "MAUI"
$platforms | ForEach-Object {
    dotnet pack "Src/Templates/VeloxDev.$_.Templates/working" -c Release
}

Install

Install a local package or the published NuGet package into the .NET template engine:

dotnet new install VeloxDev.WPF.Templates
dotnet new list veloxdev

Generate

The command format is:

{ava|wpf|winui|maui}-v-{node|slot|link|tree|selector|decorator}

For example:

dotnet new ava-v-node -n MyNodeView -ns App.Views
dotnet new wpf-v-node -n MyNodeView -ns App.Views
dotnet new maui-v-node -n MyNodeView -ns App.Views
dotnet new winui-v-node -n MyNodeView -ns App.Views

Generate a complete WPF set:

dotnet new wpf-v-slot -n WorkflowSlotView -ns MyApp.Views.Workflow
dotnet new wpf-v-node -n WorkflowNodeView -ns MyApp.Views.Workflow
dotnet new wpf-v-link -n WorkflowLinkView -ns MyApp.Views.Workflow
dotnet new wpf-v-selector -n WorkflowTemplateSelector -ns MyApp.Views.Workflow
dotnet new wpf-v-decorator -n WorkflowGridDecorator -ns MyApp.Views.Workflow
dotnet new wpf-v-tree -n WorkflowTreeView -ns MyApp.Views.Workflow

The Node and Tree templates refer to the default companion class names shown above. When a generated component is renamed, update the local: references in the generated XAML/AXAML.

The default appearance follows AstrolonUI's restrained neutral palette: #DDFFFFFF for translucent light surfaces and #DD1E1E1E for translucent dark text. Semantic state colors remain available where they convey workflow status.

Maintenance

Edit templates under:

Src/Templates/VeloxDev.<Platform>.Templates/working/content

Each template uses:

  • TemplateClass as the replaceable item name.
  • TemplateNamespace as the namespace parameter token.

The package icon is Assets/veloxdev-logo.png, shared with the main VeloxDev branding.

References

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.3 51 6/13/2026
5.0.2 55 6/13/2026
5.0.0 57 6/11/2026