Posted 16 years ago
by Radu
Hi
I have the following situation:The HelpViewerControl has a DependencyProperty called DesiredSize. The problem is that the ControlSize does not seem to react on binding; if I set it directly, without binding, it works. Can you please advice? Inside my HelpViewerControl I get the default value for ControlSize (200,800) that means the binding works in that direction, but not reverse.
I have the following situation:
<docking:ToolWindowContainer docking:DockSite.ControlSize="{Binding ElementName=HelpViewer, Path=DesiredSize, Mode=TwoWay}">
<docking:ToolWindow x:Name="HelpPreview" Title="Help Preview" CanClose="False" HorizontalContentAlignment="Stretch">
<help:HelpViewerControl x:Name="HelpViewer"/>
</docking:ToolWindow>