HexEditor.Wpf 2.1.8

dotnet add package HexEditor.Wpf --version 2.1.8
                    
NuGet\Install-Package HexEditor.Wpf -Version 2.1.8
                    
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="HexEditor.Wpf" Version="2.1.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HexEditor.Wpf" Version="2.1.8" />
                    
Directory.Packages.props
<PackageReference Include="HexEditor.Wpf" />
                    
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 HexEditor.Wpf --version 2.1.8
                    
#r "nuget: HexEditor.Wpf, 2.1.8"
                    
#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 HexEditor.Wpf@2.1.8
                    
#: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=HexEditor.Wpf&version=2.1.8
                    
Install as a Cake Addin
#tool nuget:?package=HexEditor.Wpf&version=2.1.8
                    
Install as a Cake Tool

HexEditor.Wpf

This is not the official repository of WpfHexEditorControl. Since the NuGet package for WpfHexEditorControl hasn't been updated for a while, I decided to compile a version from the latest source code myself and publish it to NuGet.

Original README.md of WpfHexEditorControl

<img src="Images/Logo.png?raw=true" width="420" height="100" />

NuGet NetFramework NetFramework NetFramework License

Wpf Hexeditor is a powerful and fully customisable user control for editing file or stream as hexadecimal, decimal and binary.

You can use it very easily in Wpf or WinForm application. Download the code and test the Wpf (C#, VB.NET) and WinForm (C#) samples.

The control is localized in English, French, Russian, Polish, Portuguese and Chinese.

⭐ You want to say thank or just like project ?

Hexeditor control is totally free and can be used in all project you want like open source and commercial applications. I make it in my free time and a few collaborators help me when they can... Please hit the ⭐️ button or fork and I will be very happy 😉 I accept help contribution...

🖼 Screenshots

Sample with standard ASCII character table example

Sample with custom character table (TBL) on SNES Final Fantasy II US example

Sample use ByteShiftLeft and BytePerLine properties with custom TBL for edit fixed length table... example

Sample use of find and find/replace dialog... example

⭐ Sample use of BarChart representation of the data ... example

⭐ Sample use of control in AvalonDock ...

example

⭐ Sample use of CustomBackgroundBlock in the "Find difference bytes sample" ... example

🧾 What is TBL (custom character table)

The TBL are small plaintext .tbl files that link every hexadecimal value with a character, which proves most useful when reading and changing text data. Wpf HexEditor support .tbl and you can define your custom character table as you want.

Unicode TBL are supported. For use put value at the right of equal (=) like this (0401=塞西尔) or (42=Д) in you plaintext .tbl file.

example

🛒 Some features

⭐ = New features

  • ⭐ AvalonDock support
  • ⭐ Edit in hexadecimal, decimal and binary
  • ⭐ Edit in 8bit, 16bit and 32bit
  • ⭐ Edit in LoHi or HiLo
  • ⭐ View as BarChart (see in screenshot. will evolve in future)
  • Find and Find/Replace dialog
  • Append byte at end of file
  • Include HexBox, an Hexadecimal TextBox with spinner
  • Fill selection (or another array) with byte.
  • Support of common key in window like CTRL+C, CTRL+V, CTRL+Z, CTRL+Y, CTRL+A, ESC...
  • Copy to clipboard as code like C#, VB.Net, C, Java, F# ...
  • Support custom .TBL character table file instead of default ASCII.
  • Unlimited Undo / Redo
  • Finds methods (FindFirst, FindNext, FindAll, FindLast, FindSelection) and overload for (string, byte[])
  • Replace methods (ReplaceFirst, ReplaceNext, ReplaceAll) and overload for (string, byte[])
  • Highlight byte with somes find methods
  • Bookmark
  • Group byte in block of 2,4,6,8 bytes...
  • Show data as hexadecimal or decimal
  • Possibility to view only a part of file/stream in editor and don't loose any change when used it (AllowVisualByteAdress...)
  • Zoom / UnZoom hexeditor content (50% to 200%)
  • Possibility to show or not the bytes are deleted.
  • Customize the color of bytes, TBL, background, header, and much more ...
  • ...

👏 How to use

Add a reference to WPFHexaEditor.dll from your project, then add the following namespace to your XAML:

xmlns:control="clr-namespace:WpfHexaEditor;assembly=WPFHexaEditor"

Insert the control like this in your XAML...:

<control:HexEditor/>
<control:HexEditor Width="NaN" Height="NaN"/>
<control:HexEditor Width="Auto" Height="Auto"/>
<control:HexEditor FileName="{Binding FileNamePath}" Width="Auto" Height="Auto"/>

✨ Wpf HexEditor user control, by Derek Tremblay (derektremblay666@gmail.com) coded for your fun! 😊🤟

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net7.0-windows7.0 is compatible.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.
  • net7.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.
  • net9.0-windows7.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
2.1.8 166 6/25/2025