Scroll Bar is disabled in scrollviewer |
Post Reply |
Author | |
Dboy
Newbie Joined: 21 November 2008 Location: India Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 21 November 2008 at 1:09am |
Hi,
I using CMarkUpStatic control as child in dialog. I have written following code L"<Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'" L"xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>" L"<ScrollViewer VerticalScrollBarVisibility='Auto'>" L"<StackPanel VerticalAlignment='Top' HorizontalAlignment='Left'>" L"<TextBlock TextWrapping='Wrap' Margin='0,0,0,20'>Scrolling is enabled when it is necessary. " L"Resize the window, making it larger and smaller.</TextBlock>" L"<Rectangle Fill='Red' Width='500' Height='500'></Rectangle>" L"</StackPanel>" L"</ScrollViewer>" L"</Page>" The scrollbar in the scrollViewer in disabled. What can be the reason. Regards, Dboy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Just tried it in our Samples\ToolkitPro\MarkupSample sample and it works for me.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
... somewhat old thread but it could be that you have forgot to specify the property "Notify" to "true"for your static control in your dialog (i.e use the SS_NOTIFY style).
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |