Coffeehouse Thread

1 post

Hexadecimal Viewer Control in C#

Back to Forum: Coffeehouse
  • User profile image

    Leave your feedback and your opinion here


    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 support of painting the individual groups of bytes without the total window redraw.

    hexcontrol01.PNG hexcontrol02.PNG



    - 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.

    Usage scenarios

    You can change grouping of the bytes by setting HexControl properties in Appearance section:

    - BytesPerColumn
    - ColumnPerRow





Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.