Image alignment in HtmlContentProvider

SyntaxEditor for WPF Forum

Posted 5 years ago by Valéry Sablonnière - Staubli
Version: 14.1.0602
Avatar

Hi,

Is it possible to align vertically an image within a quickinfo tooltip ?

I tried to override the GetImage method of the HtmlContentProvider in order to return an Image with its vertical alignment set to center but my image is still at the top of the quickinfo...

Regards,

Valéry

Comments (1)

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

Sorry, you can't do with within HtmlContentProvider alone.  That being said, there is also a DirectContentProvider where you can basically supply whatever custom XAML you wish.  So you could achieve that sort of thing with that content provider and even use the output of another HtmlContentProvider to fill in the right side of the result via a ContentPresenter.


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.