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.
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
0
Accepted
Hi Nik,
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.
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> |
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?
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
Hello,
Use the telerik:StyleManager.Theme attached property like that:
Sincerely yours,
Pana
the Telerik team
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?
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
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
Greetings,
Pana
the Telerik team
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>>