Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork140
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
License
abbaye/WpfHexEditorControl
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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 are localized in English, French, Russian, Polish, Portuguese and Chinese
Hexeditor control is totaly 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 colaborators 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 lenght 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
- ⭐ 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 evoluate 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 insted 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 dont loose anychange when used it (AllowVisualByteAdress...)
- Zoom / UnZoom hexeditor content (50% to 200%)
- Positility to show or not the bytes are deleted.
- Customize the color of bytes, TBL, background, header, and much more ...
- ...
Add a reference toWPFHexaEditor.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:HexEditorWidth="NaN"Height="NaN"/><control:HexEditorWidth="Auto"Height="Auto"/><control:HexEditorFileName="{Binding FileNamePath}"Width="Auto"Height="Auto"/>
✨ Wpf HexEditor user control, by Derek Tremblay (derektremblay666@gmail.com) coded for your fun! 😊🤟
About
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
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors13
Uh oh!
There was an error while loading.Please reload this page.


