Coder Social home page Coder Social logo

yinhaoyun / wpfhexeditorcontrol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abbaye/wpfhexeditorcontrol

0.0 1.0 0.0 5.59 MB

Wpf Hexeditor is a fast and fully customisable user control for editing file or stream as hexadecimal. Can be used in Wpf or WinForm application

Home Page: https://www.nuget.org/packages/WPFHexaEditor/

License: Apache License 2.0

C# 95.51% Visual Basic .NET 4.49%

wpfhexeditorcontrol's Introduction

NuGet NetFramework NetFramework NetFramework License

๐ŸŽฏ ATTENTION : BUILD WITH VISUAL STUDIO 2019 v16.3.7+

Wpf Hexeditor is a fast and fully customisable user control for editing file or stream as hexadecimal or dedimal.

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

โญ You want to say thank or just like project ?

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

๐Ÿ–ผ Screenshots

Sample with standard ASCII character table example

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

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

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

๐Ÿงพ What is TBL (custom character table)

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.

example

๐Ÿ›’ Somes features

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

๐Ÿ‘ How to use

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 ([email protected]) coded for your fun! ๐Ÿ˜Š๐ŸคŸ

wpfhexeditorcontrol's People

Contributors

abbaye avatar janustida avatar dimitrisvech avatar ehsanhb avatar aleksbgbg avatar koen-debacker avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.