ad:ResizingPanel.ResizeWidth does not work with more than one DocableContent

May 31, 2010 at 8:34 AM

Hello

I am trying to make the left hand side to have fixed size during resising because it contains legend.

But No matter what I do I can not do that...

Is there a  something missing?

Thanks        

 

 <Grid >

                <ad:DockingManager x:Name="_dockManager" >
                    <ad:ResizingPanel Orientation="Horizontal" Name="_resizeSidePanel"  Width="Auto" ad:ResizingPanel.ResizeWidth="*" >
                        <ad:ResizingPanel Orientation="Vertical" >
                            <ad:DockablePane Name="_dpLegendPan" ad:ResizingPanel.ResizeWidth="200">
                                <ad:DockableContent x:Name="_dcLegend" Title="Legend" StateChanged="_dcLegend_StateChanged" >
                                    <WindowsFormsHost Name="_windowsFormsHostLgdMain" >
                                        <actualmap:Legend Name="_lgdMain" AllowDrop="True" />
                                    </WindowsFormsHost>
                                </ad:DockableContent>
                            </ad:DockablePane>
                            <ad:DockablePane Name="_dpOverviewPan" ad:ResizingPanel.ResizeWidth="*">
                                <ad:DockableContent x:Name="_dcOverView" Title="Overview Map" StateChanged="_dcOverView_StateChanged">
                                    <WindowsFormsHost Name="_wfsOverview" >
                                        <actualmap:Map Name="_mapOverView" />
                                    </WindowsFormsHost>
                                </ad:DockableContent>
                            </ad:DockablePane>
                        </ad:ResizingPanel>
                        <WindowsFormsHost Name="_windowsFormsHostMapMain"   >
                            <actualmap:Map Name="_mapMain" Dock="Fill"
                                               MouseMove="_mapMain_MouseMove"
                                               InfoTool="_mapMain_InfoTool" />
                        </WindowsFormsHost>

                    </ad:ResizingPanel>
                </ad:DockingManager>

            </Grid>