Live preview in DocumentWindow's ToolTip

Docking/MDI for WPF Forum

Posted 16 years ago by Jeremy ALLES - Grenoble, France
Version: 4.5.0480

I'm trying to have a live preview of the content of a DocumentWindow in its Tooltip. I did some tests, and here is the example I'm using:

<docking:DocumentWindow Title="Document1.txt"
DataContext="{Binding RelativeSource={RelativeSource Self}}">
<Grid Width="400" Height="200">
<VisualBrush Visual="{Binding Content}"/>
<TextBox Text="Move other tool windows around the 'fixed' tool window." />

This sample works fine when the DocumentWindow is the active one, but otherwise, the visual content is not scaled properly. Do you have any idea how I can fix this problem ?


Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA

I think the problem may be that only the selected content is being displayed at any given time. So it may be possible that the only thing we could do would be to recreate the tooltip visual on-demand somehow when the tooltip is readied for display.

If you'd like to throw around some ideas on that, maybe email our support staff and we can discuss it in some more detail.

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.