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

SyntaxEditor for WPF Forum

Posted 12 years ago by Peter Luo - AIMNEXT
Version: 12.1.0561


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 12 years ago by Actipro Software Support - Cleveland, OH, USA

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 (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.