0

To learn WPF, I am trying to create a hex editor application. However, I am unsure of what I should use to display the hex dump to the user.

I am trying to display an array of integers in 16 columns. The first byte would be in column 1, row 1, the second byte in column 2, row 1, and so on.

I had considered using an array of TextBlock, but that seems inelegant. A DataGrid doesn't really look right for the way I am trying to display the data either.

What is the way to approach this?

1 Answer 1

1

I'm not sure how you would like to display your data, but I suggest to use a listView. DataGrids are basically made from a listView. You can define the ItemTempplate any way you want it to appear, so I would think that somehow, you'll get the look and feel you're looking for.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.