This project is read-only.

Project Description

Simple HexControl (HexView) is a classic Windows Forms control. It implements a hexadecimal view of bytes with grouping. It's blazing fast, renders only visible frame of a window and supports of painting the individual groups of bytes without the total window being redrawn.

hexcontrol01.PNG hexcontrol02.PNG

Project Author

Copyright (c) Artur Mustafin

Source code

Source code for the project have been released. Added a new distribution with sample Windows Forms application. You can find code here:



- Supports vertical and horizontal scrolling
- Supports auto-scroll / auto hide scroll bars
- Renders only visible window frame
- Can update individual byte change
- Supports any type of fonts
- Less intense calculations due to bytes block measurement / rendering


HexControl is scrollable composite Windows Forms control. Control logic is divided into presentation logic, model, and some simple code to reflect model changes to presentation control (M-V pattern), skipping controller logic totally, because controller part (events, subscriptions, updates) will be taken totally by the .NET Framework.

In-depth description of implementation, design and architecture:


Rendering of the data is controlled by the rendering options you provide for the control. You can change grouping of the bytes by setting HexControl properties in Appearance section:

- BytesPerColumn
- ColumnPerRow




Alternative control is very ugly, so ugly that I couldn't place it on a main page. Feel the difference.


HexControlLibrary 1.0

Release notes

Free for non-commercial use. Copyright (c) Artur Mustafin. Binary and source files are included.

Last edited May 4, 2012 at 10:03 PM by hack2root, version 45