public void SetSelectionInTree(object selectedHexDumpRowItem, int selectedHexDumpColumnIndex) { // TODO: Auswahl im Tree funktioniert noch nicht! HexDumpLine selectedHexDumpLine = selectedHexDumpRowItem as HexDumpLine; if (selectedHexDumpLine != null) { int byteOffset = selectedHexDumpLine.ByteOffset; byteOffset += Math.Max(selectedHexDumpColumnIndex - 1, 0); SelectedPart = BinaryFile.FindValueByByteOffset(byteOffset); } }