WpfHexEditorControl

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

View project on GitHub

WPFHexEditor.Sample.CSharp

Main C# WPF sample application showcasing core features of the HexEditor control.

🎯 Purpose

Comprehensive demonstration of the WPF HexEditor control with all major features accessible through a full UI.

✨ Features Demonstrated

  • File Operations: Open, save, and create binary files
  • Clipboard: Copy/paste operations (Ctrl+C, Ctrl+V)
  • Undo/Redo: Full history management (Ctrl+Z, Ctrl+Y)
  • Find & Replace: Search dialogs with pattern matching
  • Character Tables: Custom TBL file support for game ROMs
  • View Modes: Hexadecimal, decimal, and binary display
  • Bookmarks: Mark and navigate important positions
  • Selection: Various selection and navigation operations
  • Byte Editing: Insert, delete, and modify bytes

🚀 How to Run

Visual Studio

  1. Open WpfHexEditorControl.sln
  2. Set as startup project
  3. Press F5

Command Line

dotnet run

📦 Project Type

  • Platform: WPF (Windows Presentation Foundation)
  • Language: C#
  • Target Frameworks:
    • .NET Framework 4.8
    • .NET 7.0-windows
    • .NET 8.0-windows

🎓 Learning Path

This is the best starting point for learning how to use the WPF HexEditor control. It demonstrates all features in a complete, working application.

📖 Documentation


✨ Main demonstration application for WPF HexEditor Control