How to Change the Bookmark Glyph Image

SyntaxEditor for WPF Forum

Posted 6 years ago by Bill L
Version: 13.1.0058
Avatar

Hey,

How do we change the image that is currently built-in for Bookmark display in the indicator margin?

 

Best regards,

Bill

Comments (2)

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

Hi Bill,

All of the various indicator add/toggle methods have overloads that let you pass in custom tag instances.  So you could make a class that inherits BookmarkIndicatorTag and pass that into the overload.  Your inherited class can override the CreateGlyph method.  That just creates a FrameworkElement (whatever kind you want) that will be used as the glyph.  Our default elemnt is just a 16x16 Border that contains a Path.


Actipro Software Support

Posted 6 years ago by Bill L
Avatar

Hey,

Thanks!

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.