Don't know why, but moving my pivotviewer application from Silverlight 4 to Silverlight 5 changed some things.
When I used to switch to graphview my categories used to group together into some ranges like in this figure.
Now something changed and each category has its own column in graphview.
I would like to go back to the old behaviour, but I don't know how to disable it. Moreover a scrollviewer is on the bottom of the pivotviewer.
Tried to play with ScrollViewer like this.
<pivot:PivotViewer x:Name="PivotMainPage" ItemsSource="{Binding}" ScrollViewer.VerticalScrollBarVisibility="Hidden" />
It seems like it doesn't want to work. Any suggestion?
I suspect that it has something to do with the width and height of containers. It seems like the minimum MinHeight = 250 e MinWidth = 450 affect the pivotviewer to exceed the border of the column.
I know the following code is redundant, but I cut out a useless Grid.ColumnDefinition. This is to give you an idea of the encapsulation.
<Grid Grid.Row="1" Margin="5"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Border Style="{StaticResource ColumnsBorder}" > <pivot:PivotViewer x:Name="PivotMainPage" ItemsSource="{Binding}" ScrollViewer.VerticalScrollBarVisibility="Hidden" /> </Border> </Grid>
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog