How to set the background of syntax editor when it is read-only ?

SyntaxEditor for WPF Forum

Posted 7 years ago by Peter Luo - AIMNEXT
Version: 12.1.0561
Avatar

Hi,

In the previous version of my application, I set the background of syntax editor with this:

<SolidColorBrush x:Key="{x:Static themes:SyntaxEditorCommonDictionary.SyntaxEditorBackgroundReadOnlyBrushKey}" Color="LightGray" />

 But after I upgraded to the new version of syntax editor, this can not be compiled, how to do this in this version?

 

Thanks a lot!

Comments (1)

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

Hi Peter,

Sorry but due to popular request, we removed the different background look for when the editor is read-only.  In the newer version, what you'd do is set the SyntaxEditor.Background property when it is read-only to whatever brush you want it to use.


Actipro Software Support

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.