Background picture becomes fuzzy

May 31, 2011 at 7:07 AM

Hi everybody,

I have picture as a background for AvalonDock like this:

 

    <ad:DockingManager x:Name="dockManager" Grid.Row="0" OpacityMask="#FFFFFF" >
                <ad:DockingManager.Background>
                   <ImageBrush ImageSource="/GETLog;component/Resources/Images/Get.png" Stretch="None" AlignmentX="Center" AlignmentY="Bottom" Opacity="0.23" TileMode="None">
                       <ImageBrush.RelativeTransform>
                            <ScaleTransform CenterX="0.5" CenterY="0.4" ScaleX="0.9" ScaleY="0.9"/>
                       </ImageBrush.RelativeTransform>              
                   </ImageBrush>
                </ad:DockingManager.Background>
                <ad:ResizingPanel Orientation="Horizontal">
                    <ad:DockablePane x:Name="leftPane" ad:ResizingPanel.ResizeWidth="250">
                        <ad:DockableContent x:Name="devicesContent" Title="Devices" >
                    </ad:DockableContent>
                    </ad:DockablePane>
                <ad:ResizingPanel Orientation="Vertical">
                    <ad:DocumentPane x:Name="documentsPane" />
                </ad:ResizingPanel>
                    <ad:ResizingPanel Orientation="Vertical" ad:ResizingPanel.ResizeWidth="250">                     
                        <ad:DockablePane  x:Name="rightPane">
                            <ad:DockableContent x:Name="propertiesContent" Title="Properties">
                            </ad:DockableContent>
                        </ad:DockablePane>
                    </ad:ResizingPanel>
                </ad:ResizingPanel>
            </ad:DockingManager>

 

 

Problem:

When pressing autohide buttons on leftPane or rightPane, the background picture becomes fuzzy. 

Maybe somebody knows how to solve this. Thanks.