Pan when mouse wheel button pressed

Hi, such a question. In most CAD systems, panning is automatically done with the mouse wheel pressed. Is it possible to enable this mechanism in the diagram? I found Pan mode for the left mouse button only...

For now panning is manually enabled by calling StartPanning method. There is no automatic panning mechanism upon middle button click.

Yes, I know about the StartPanning method. The question is that this method initiates panning when the left mouse button is pressed, but required — on the middle button. Ideally, of course, I would like to give the user the opportunity to choose the button for panning himself.

As mentioned, panning is currently only possible with left mouse button.

Ok, I understand.