DEXS.Console.PatternProgress
0.50.1
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package DEXS.Console.PatternProgress --version 0.50.1
NuGet\Install-Package DEXS.Console.PatternProgress -Version 0.50.1
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="DEXS.Console.PatternProgress" Version="0.50.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DEXS.Console.PatternProgress" Version="0.50.1" />
<PackageReference Include="DEXS.Console.PatternProgress" />
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 DEXS.Console.PatternProgress --version 0.50.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DEXS.Console.PatternProgress, 0.50.1"
#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 DEXS.Console.PatternProgress@0.50.1
#: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=DEXS.Console.PatternProgress&version=0.50.1
#tool nuget:?package=DEXS.Console.PatternProgress&version=0.50.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DEXS.Console.PatternProgress Usage
Overview
DEXS.Console.PatternProgress provides a drop-in, highly customizable progress bar column for Spectre.Console, supporting Unicode, emoji, and custom patterns.

Basic Example
using Spectre.Console;
using DEXS.Console.PatternProgress;
AnsiConsole.Progress()
.AutoClear(false)
.Columns(
new TaskDescriptionColumn(),
new PatternProgressBarColumn
{
Width = 40,
FilledStyle = new Style(foreground: Color.Green),
FillingStyle = new Style(foreground: Color.Yellow4),
EmptyStyle = new Style(foreground: Color.Grey35),
ProgressPattern = ProgressPattern.Known.Braille,
},
new PercentageColumn(),
new RemainingTimeColumn(),
new SpinnerColumn { Spinner = Spinner.Known.Dots12 }
)
.Start(ctx =>
{
var task = ctx.AddTask("[green1]Processing...[/]", maxValue: 100);
while (!ctx.IsFinished)
{
task.Increment(1.5);
Thread.Sleep(20);
}
});
Using Custom Patterns at Runtime
You can define your own progress bar patterns at runtime by subclassing ProgressPattern directly in your application code—no need to edit the JSON or recompile the library. Example:
using DEXS.Console.PatternProgress;
public class MyCustomPattern : ProgressPattern
{
public override string Name => "My Custom";
public override bool IsUnicode => true;
public override bool IsCursor => false;
public override IReadOnlyList<string> Pattern => new[] {
"░",
"█"
};
}
// Usage:
var customPattern = new MyCustomPattern();
AnsiConsole.Progress()
.Columns(
new PatternProgressBarColumn {
ProgressPattern = customPattern
}
// ... other columns ...
)
.Start(ctx => { /* ... */ });
foreach (var pattern in ProgressPattern.Known.AllPatterns)
{
AnsiConsole.WriteLine($"Pattern: {pattern.Name} - {string.Join("", pattern.Pattern)}");
}
Advanced: Indeterminate Bars & Cursor Mode
- Use
IsIndeterminateon the task for animated bars. - Use patterns with
IsCursor: truefor cursor-style progress.
API Reference
PatternProgressBarColumn(main column type)ProgressPattern.Known(all built-in patterns)ProgressPattern(base class for custom patterns)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Spectre.Console (>= 0.50.0)
-
net10.0
- Spectre.Console (>= 0.50.0)
-
net8.0
- Spectre.Console (>= 0.50.0)
-
net9.0
- Spectre.Console (>= 0.50.0)
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 |
|---|