Hey,
How do we change the image that is currently built-in for Bookmark display in the indicator margin?
Best regards,
Bill
Hey,
How do we change the image that is currently built-in for Bookmark display in the indicator margin?
Best regards,
Bill
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.
Hey,
Thanks!
Please log in to a validated account to post comments.