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

RadPane not shoing scrollbar

5 Answers 197 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Nik
Top achievements
Rank 1
Nik asked on 16 Mar 2009, 10:13 PM
Hi
I have
<radDock:RadDocking.DocumentHost>
                <radDock:RadSplitContainer>
                    <radDock:RadPaneGroup  x:Name="DocumentHostRadPaneGroup"  >
                    </radDock:RadPaneGroup>
                </radDock:RadSplitContainer>

            </radDock:RadDocking.DocumentHost>


in VB file

Dim objRadPane As New RadPane
objRadPane.Title = Tab Name
objRadPane.IsSelected = True
objRadPane.Content = new pagexamlObject()
DocumentHostRadPaneGroup.Items.Add(objRadPane)


But is not showing me scrollbar in DocumentHost. My Other Contain just hide.

Please let me how to get the Scroll bar for this

Prompt reply would be really appreciated.

5 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 18 Mar 2009, 07:23 AM
Hi Nik,

Did you wrap the content of the RadPane with a ScrollViewer? It should work fine if you did. Take a look at the following XAML that shows scrollbars when needed:
<docking:RadDocking.DocumentHost> 
    <docking:RadSplitContainer> 
        <docking:RadPaneGroup> 
            <docking:RadPane Header="Document Pane"
                <ScrollViewer> 
                    <Button> 
                        <Button.Content> 
                            <Rectangle Height="800" Width="200" Fill="Red" /> 
                        </Button.Content> 
                    </Button> 
                </ScrollViewer> 
            </docking:RadPane> 
        </docking:RadPaneGroup> 
    </docking:RadSplitContainer> 
</docking:RadDocking.DocumentHost> 

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
NOC NOC
Top achievements
Rank 1
answered on 28 Nov 2010, 07:17 PM
Hi Miroslav,

how can I change the style of the ScrollViewers Scrollbars to the selected telerik theme so they look like the ones from the telerik controls?
0
Pana
Telerik team
answered on 01 Dec 2010, 11:56 AM
Hello,

Use the telerik:StyleManager.Theme attached property like that:

<ScrollViewer telerik:StyleManager.Theme="Office_Black">


Sincerely yours,
Pana
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
NOC NOC
Top achievements
Rank 1
answered on 09 Jan 2011, 09:47 PM
Thank you Pana,

I tried this also for a multiline textbox       
TextWrapping="Wrap", AcceptsReturn="True" and VerticalScrollBarVisibility="Auto", but it does the theme the internal ScrollViewer.

how can I make this running?
0
Pana
Telerik team
answered on 12 Jan 2011, 09:32 AM
Hello Nik,

I am not sure I understand you right. You have TextBox that is multiline and shows vertical scrollbar. And the scrollbar (or ScrollViewer that holds it) does not get the telerik theme as you set it?

Have you tried putting the telerik:StyleManager.Theme="Office_Black" on the TextBlock. It should pass the theme to all internal controls including the ScrollViewer and the scroll viewer will set the theme on the ScrollBars.

Greetings,
Pana
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Docking
Asked by
Nik
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
NOC NOC
Top achievements
Rank 1
Pana
Telerik team
Share this question
or