Scrollviewer position in XAML composition |
Post Reply |
Author | |
AlbertoB
Newbie Joined: 06 July 2011 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 17 May 2012 at 12:21pm |
Hi there,
I have this XAML composition that works perfectly in Codejock MarkupPad
<Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
<ScrollViewer x:Name='scroll' TextBlock.FontSize="12" MaxHeight='60' VerticalScrollBarVisibility='Auto'> <StackPanel> <CheckBox Tag='tag1' IsChecked='true'>Option1</CheckBox> <CheckBox Tag='tag2' IsChecked='true'>Option2</CheckBox> <CheckBox Tag='tag3' IsChecked='true'>Option3</CheckBox> <CheckBox Tag='tag9' IsChecked='true'>LastOption</CheckBox> </StackPanel> </ScrollViewer> </Page> My question is:
Is it possible to stablish an initial vertical scroll position different from 0, any way that works in MarkupPad as well?
I'm using that XAML code as cell text in a report control with Markup enabled. If is not possible to position the scroll directly through tags or porperties... how should I do that?
Thank you,
AB.
|
|
AlbertoB
Newbie Joined: 06 July 2011 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Has anybody any idea or comments about this issue?
Am I asking something crazy?
Any site to look for a solution?
AB.
|
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
The ScrollViewer object has a HorizontalOffset and VerticalOffset property, but these aren't recognized by the markup pad. I've submitted a support ticket, but I've got almost a dozen open tickets that haven't had responses in ages, so I wouldn't hold my breath.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
We have looked into the XAML specification and there is no property for the scroll offset in the markup. This would be an extension and we would like to keep compatiblity with the MS specification. So we added a new MarkupUIElement property to the report record item and a scrollviewer sample to our ReportSample for the next release.
|
|
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 |