Line margin background color

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by Colin Blakey - Application Development Manager, Vertex Inc
Avatar
Is there an example on how to set the background color of the line margin?

Thanks

Colin Blakey

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Colin,

Sure.... BackgroundFills can be solid colors or gradients. To make a solid color fill, do this:
editor.LineNumberMarginBackgroundFill = new ActiproSoftware.Drawing.SolidColorBackgroundFill(Color.Yellow);


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.