How to select the default DockableContent ?

Jun 11, 2010 at 9:18 AM

Hi, I have the following code :

                            <ad:ResizingPanel Orientation="Vertical" ad:ResizingPanel.ResizeWidth="300">
                                <ad:DockablePane x:Name="_documentsZone21" SelectedIndex="0" ad:ResizingPanel.ResizeWidth="300" ad:ResizingPanel.ResizeHeight="300">
                                    <ad:DockableContent x:Name="_elements" Title="Elements" DockableStyle="DockableToBorders">
                                        <ui:Hierarchy/>
                                    </ad:DockableContent>
                                    <ad:DockableContent x:Name="_shading" Title="Shading" DockableStyle="DockableToBorders">
                                        <ui:ShadingTree/>
                                    </ad:DockableContent>
                                </ad:DockablePane>
                            </ad:ResizingPanel>

The problem is that the 'default selected' DockableContent is the "_shading" one ! Why !!! ???

I have try to use SelectedIndex=0, but it doesn't fix the issue ! Is there another way to change the active one ? (If possible in xaml)

Thanks

 

Jun 16, 2010 at 9:52 AM

Starting from version 1.3.3416 this problem should be fixed,

Thanks for the feedback,

Ado