Posted 6 years ago by Todd Haehn
Version: 16.1.0201

I am evaluating the Syntax Editor for XML data.  I have the Syntax Editor control in my view bound to my viewmodel property and the data is loaded correctly, but changes are not pushed back to the viewmodel.

                Text="{Binding Request, Mode=TwoWay}">
                <syntaxeditor:EditorDocument xml:space="preserve">
								<syntaxeditor:XmlSyntaxLanguage />

 The viewmodel property 

        private string request;
        public string Request
            get { return request; }
                request = value;
                NotifyOfPropertyChange(() => Request);

 Is TwoWay binding not supported?

Comments (1)

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

Hi Todd,

Data binding is supported but it's not enabled by default for performance reasons.  Please see the "SyntaxEditor / User Interface Features / Input/Output Features / Data Binding" topic in the documentation that comes with the product for more information on why, and how to enable it.

Actipro Software Support

The latest build of this product (v2018.1 build 0233) was released 3 years ago, which was after the last post in this thread.