Can IEditorViewMargin support manual stretch size?

SyntaxEditor for WPF Forum

The latest build of this product (v21.1.3) was released 3 months ago, which was before this thread was created.
Posted 13 days ago by Sunshine - Appeon
Version: 21.1.3
Avatar

I am expanding some of the functions on the Editor through IEditorViewMargin. There is a scenario where I want to change the size of the Margin by dragging the mouse. Can this demand be supported?

Comments (3)

Posted 13 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

You should be able to attach to some of the mouse events on the margin element and add support for that.  We don't have any built-in logic for margin resizing. 

If you do implement this, note that a call to the margin element's InvalidateMeasure() method probably won't be enough to get it to resize all the editor view elements.  You would likely have to call the SyntaxEditor.InvalidateViews() method to trigger editor view elements to resize around any changes to your margin width.


Actipro Software Support

Posted 13 days ago by Sunshine - Appeon
Avatar

Okay, thank you for your reply. Would you like to ask if this feature will be built in in the next version?

Posted 12 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

We have noted your feature requested for potential inclusion in a future version, but it is not something we will be able to add in the near term.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.