Wpf Hexeditor is a powerful and fully customisable user control for editing file or stream as hexadecimal, decimal and binary. Can be used in Wpf or WinForm application. Support .Net 4.7/4.8 and .Net 5.0-windows
$ dotnet add package HexEditor.Wpf[!NOTE] This is not the official repository of
WpfHexEditorControl. Since the NuGet package forWpfHexEditorControlhasn't been updated for a while, I decided to compile a version from the latest source code myself and publish it to NuGet.
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.
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...
Sample with standard ASCII character table

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

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

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

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

⭐ Sample use of control in AvalonDock ...

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

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.

⭐ = New features
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! 😊🤟