Content of ZoomControl doesn't display

Jul 25, 2009 at 3:31 AM

Hi,

I just found your ZoomControl and I'm so excited, it's exactly what I've been looking for. However, I can't seem to get it to work.

I've added the following XAML to my project:

 

        
        <wpfx:ZoomControl x:Name="Zoomer">
            <StackPanel 
                x:Name="SwimlaneContainer" 
                Margin="0,11,0,0"
                Height="800"
                Width="780">
                </StackPanel>
        </wpfx:ZoomControl>

The contents of the "SwimlaneContainer" are populated later at runtime (which I think may be a source of the problem). When I run my application I can see your control. However, once I've added some controls to the "SwimlaneContainer", nothing appears. If I revert back to my previous code (which uses a scroller in-place of the ZoomControl), things display as I'd expect.

Any help is greatly appreciated.

 

Oct 13, 2009 at 6:07 AM

I have the same problem with the graphsharp component: it doesn't display in the zoom control.

Maybe it's because I took the latest source code version, instead of the latest stable download...