WPFHexaEditor 3.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package WPFHexaEditor --version 3.0.2
NuGet\Install-Package WPFHexaEditor -Version 3.0.2
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="WPFHexaEditor" Version="3.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WPFHexaEditor" Version="3.0.2" />
<PackageReference Include="WPFHexaEditor" />
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 WPFHexaEditor --version 3.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WPFHexaEditor, 3.0.2"
#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 WPFHexaEditor@3.0.2
#: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=WPFHexaEditor&version=3.0.2
#tool nuget:?package=WPFHexaEditor&version=3.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
WpfHexEditorControl
A full-featured WPF hex editor UserControl for .NET 8. Successor to WPFHexaEditor.
Quick Start
<Window xmlns:hexe="clr-namespace:WpfHexEditor.HexEditor;assembly=WpfHexEditor.HexEditor">
<hexe:HexEditor FileName="C:\path\to\file.bin" />
</Window>
dotnet add package WpfHexEditorControl
What's New in 3.0.0 (since WPFHexaEditor 2.1.7)
Breaking Changes
- Target framework: .NET 8.0-windows (dropped .NET Framework 4.7 and .NET Core 3.1)
- Namespace renamed:
WPFHexaEditor→WpfHexEditor.HexEditor - Assembly renamed:
WPFHexaEditor.dll→WpfHexEditor.HexEditor.dll - Modular architecture: core logic extracted into separate assemblies (Core, BinaryAnalysis, Definitions, Editor.Core)
Performance
- GlyphRun-based text renderer — replaces FormattedText, eliminates per-glyph allocation
- LineVisualPool — object pooling for visible line elements, zero GC pressure on scroll
- HexLookup table — O(1) byte-to-hex conversion via precomputed 256-entry table
- TBL key buffer — zero-allocation custom table encoding
- DrawingContext renderers for HexBox and ProgressBar controls
- Cached DPI, FormattedText, and Pens — 25-55ms → 5-8ms render time in docking scenarios
- Dirty-line tracking — only re-render lines that changed, not the full viewport
- Mouse hover overlay — eliminated full re-render on mouse move
New Features
- 400+ built-in format definitions (.whfmt) — automatic format detection and syntax coloring for PE, ELF, ZIP, PNG, PDF, MP3, SQLite, and hundreds more
- Column and row highlighting — visual cursor tracking across hex and ASCII panels
- Undo/redo overhaul — UndoGroup composite, transactions, coalescence, history dropdown
- Binary analysis — Shannon entropy, byte distribution, anomaly detection, data type estimation
- Intel HEX / S-Record — import/export support
- Binary template compiler — 010 Editor compatible C-like templates
- Format field overlay — semi-transparent colored blocks over detected format structures
- Settings UI — dynamic property editor with ColorPicker for all editor properties
- IDocumentEditor interface — standardized editor contract for hosting frameworks
Bug Fixes
- Row highlight now updates on vertical scroll
- Null guard on UpdateColumnHighlight
- FileSystemWatcher re-fire suppressed during ReloadFromDisk
- ByteToolTipDisplayMode/DetailLevel DP defaults synced to HexViewport at init
- MouseWheelSpeed DP implemented in scroll handler
Included Assemblies
| Assembly | Purpose |
|---|---|
| WpfHexEditor.HexEditor | HexEditor UserControl (main entry point) |
| WpfHexEditor.Core | Byte providers, format detection, search, undo/redo |
| WpfHexEditor.Core.BinaryAnalysis | Cross-platform binary analysis (no WPF dependency) |
| WpfHexEditor.Core.Definitions | 300+ embedded format definitions (.whfmt) |
| WpfHexEditor.Editor.Core | Shared editor abstractions |
| WpfHexEditor.ColorPicker | Color picker control for settings |
| WpfHexEditor.HexBox | Hex display control |
| WpfHexEditor.ProgressBar | Progress bar control |
License
GNU Affero General Public License v3.0 (AGPL-3.0)
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows 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.
-
net8.0-windows7.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on WPFHexaEditor:
| Package | Downloads |
|---|---|
|
ColorVision.Solution
Package Description |
|
|
XX.AiMessage.WpfDev
Package Description |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on WPFHexaEditor:
| Repository | Stars |
|---|---|
|
Squalr/Squalr-Sharp
Squalr Memory Editor - Game Hacking Tool Written in C#
|
|
|
SapphireServer/ffxivmon
A FFXIV Network Analysis Tool
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.3.0 | 41 | 5/6/2026 |
| 3.2.0 | 173 | 5/2/2026 |
| 3.1.4 | 180 | 4/28/2026 |
| 3.1.3 | 1,007 | 4/15/2026 |
| 3.1.2 | 132 | 4/14/2026 |
| 3.1.1.1 | 111 | 4/14/2026 |
| 3.1.1 | 90 | 4/14/2026 |
| 3.1.0 | 90 | 4/14/2026 |
| 3.0.5 | 118 | 4/14/2026 |
| 3.0.4 | 128 | 4/13/2026 |
| 3.0.3 | 137 | 4/13/2026 |
| 3.0.2 | 117 | 4/10/2026 |
| 3.0.1 | 103 | 4/10/2026 |
| 2.2.0 | 1,322 | 2/11/2026 |
| 2.1.7 | 52,738 | 6/10/2021 |
| 2.1.6 | 27,725 | 1/12/2021 |
| 2.1.5 | 956 | 12/23/2020 |
| 2.1.3 | 785 | 12/16/2020 |
| 2.1.2 | 853 | 12/12/2020 |
Loading failed