This is a migrated thread and some comments may be shown as answers.

AutoSize DockingPane/image inside

0 Answers 48 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Tobias
Top achievements
Rank 1
Tobias asked on 19 Apr 2012, 12:01 PM
Hi,

i'm quite new to WPF. I have this problem.

I have an image in a pane, an the image automatically changes its size. but i don't want that. i want to enlarge the pane, so you can see the complete image (even if it doesn't fit in the pane, i will use scrool bars for horizontal and vertical ..)..

My code looks like this:

<telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer Margin="0" telerik:DockingPanel.InitialSize="8,2">
                <telerik:RadPaneGroup Name="paneGrpDocuments" TabStripPlacement="Top">
                <telerik:RadDocumentPane Header="StartDokument" Name="Start">
                            <Image HorizontalAlignment="Left" VerticalAlignment="Top"  RenderOptions.EdgeMode="Aliased" Source= "/Images/StartImage_stretched2.png"></Image>
                </telerik:RadDocumentPane>
                        <telerik:RadDocumentPane Header="Doc 1" Name="doc1" />
                        <telerik:RadDocumentPane Header="Doc 2" Name="doc2" />
                </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>

No answers yet. Maybe you can help?

Tags
Docking
Asked by
Tobias
Top achievements
Rank 1
Share this question
or