How to bind Property .Caret.Position in WPF-Control XAML Code

SyntaxEditor for WPF Forum

Posted 7 years ago by Horst Noll
Version: 14.1
Platform: .NET 3.5
Environment: Windows 7 (64-bit)
Avatar

Hello,

I am currently stuck while trying to bind the property ".Caret.Position" in the Xaml Code of the SyntaxEditor WPF-Control.

What I need is the current Position of the Caret when the User clicks in the SyntaxEditor control.

Thanks.

Best Regards

[Modified 7 years ago]

Comments (2)

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

Hello,

It's a plain old CLR object and doesn't support binding right now.  We will make Caret implement IPropertyChanged and will fire the PropertyChanged event for the character, offset, and position properties so they can update bound UI.  This will be in build 662.


Actipro Software Support

Posted 7 years ago by Horst Noll
Avatar

Thank you.

The latest build of this product (v24.1.2) was released 0 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.