This project is read-only.

How to set a default width for the content ?

Aug 26, 2009 at 4:44 PM

Hi,

Is it possible to set the default width of the content, by example I have 3 dockable-content and each one should have a specific width, how can I do this ? Thanks

<ad:DockingManager x:Name="_dockingManager">
                    <ad:ResizingPanel Orientation="Horizontal">
                        <ad:DockablePane ShowHeader="False">
                            <ad:DockableContent x:Name="_toolbox" Title="Tools" DockableStyle="LeftBorder">
                                <StackPanel Orientation="Vertical">
                                    <Image Width="32" Height="32" Source="images/toolbox/select.png"/>
                                    <Image Width="32" Height="32" Source="images/toolbox/translation.png"/>
                                    <Image Width="32" Height="32" Source="images/toolbox/rotation.png"/>
                                </StackPanel>
                            </ad:DockableContent>
                        </ad:DockablePane>
                        <ad:DocumentPane x:Name="_documentsHost">
                            <ad:DocumentContent Title="Home" InfoTip="C:\Program files\Italy\Converters\AvalanDock\AvalonDock.xps  Here your infos..etc.." ContentTypeDescription="XPS document">
                            </ad:DocumentContent>
                        </ad:DocumentPane>
                        <ad:DockablePane>
                            <ad:DockableContent x:Name="_properties" Title="Properties" DockableStyle="Dockable" >
                            </ad:DockableContent>
                        </ad:DockablePane>
                    </ad:ResizingPanel>
                </ad:DockingManager>

 

 

Aug 26, 2009 at 7:14 PM

Addthe "ad:ResizingPanel.ResizeWidth" property shown in the sample:

<ad:DockablePane Name="DockPaneLeft" Padding="5" ad:ResizingPanel.ResizeWidth="200">