SyntaxEditor.IsMultiLine is not responding to bindings.

SyntaxEditor for WPF Forum

Posted 5 years ago by Mark Hinshaw
Version: 13.2.0590
Avatar

I am using the syntax editor and want to dynamically update the IsMultiLine property.  When assigning a binding (of type bool), the property will not update as expected.  I can use the same property as I use in another binding and still IsMultiLine will not update.  Is this a known bug?

[Modified 5 years ago]

Comments (2)

Answer - Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mark,

I moved this thread to the WPF SyntaxEditor forum since you had originally posted it in the WinForms one.

For the issue, I just set up a binding on a checkable menu item to the IsMultiLine property and it seemed to work fine for me.  Unchecking the menu item made the document switch to single line mode.  Then checking it again allowed multi-line text to be entered.


Actipro Software Support

Posted 5 years ago by Mark Hinshaw
Avatar

Thanks for the response.  You are right, it is working.  The issue was on my end.  I was using a property bound to a different DataContext.

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.