RadPane not shoing scrollbar

6 posts, 1 answers
  1. Nik
    Nik avatar
    14 posts
    Member since:
    Jan 2007

    Posted 16 Mar 2009 Link to this post

    I have
                        <radDock:RadPaneGroup  x:Name="DocumentHostRadPaneGroup"  >


    in VB file

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

    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.

  2. Answer
    Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 18 Mar 2009 Link to this post

    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:RadPane Header="Document Pane"
                                <Rectangle Height="800" Width="200" Fill="Red" /> 

    Hope this helps.

    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.
  3. NOC NOC
    NOC NOC avatar
    6 posts
    Member since:
    Mar 2010

    Posted 28 Nov 2010 Link to this post

    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?
  4. Pana
    Pana avatar
    748 posts

    Posted 01 Dec 2010 Link to this post


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

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

    Sincerely yours,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  5. NOC NOC
    NOC NOC avatar
    6 posts
    Member since:
    Mar 2010

    Posted 09 Jan 2011 Link to this post

    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?
  6. Pana
    Pana avatar
    748 posts

    Posted 12 Jan 2011 Link to this post

    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.

    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top