- Sep 11, 2012
- 41
- 0
- 0
Hi,
I have a problem with adding a Search - textbox in writing a pivot app.
You can see in the image below, I can not scroll items after adding a textbox to the pivot.

The code .xaml for the second case:
I tried StackPanel and Grid but they weren't better. Could you please give me some solutions?
Thanks in advance.
I have a problem with adding a Search - textbox in writing a pivot app.
You can see in the image below, I can not scroll items after adding a textbox to the pivot.

The code .xaml for the second case:
Code:
<phone:PivotItem Header="Tất cả"
>
<ScrollViewer>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="80" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ListBox Margin="0,0,-12,0"
x:Name="list1"
ItemsSource="{Binding AllSongs.Items}"
ItemTemplate="{StaticResource ListTitleTemplate}"
Grid.Row="1">
</ListBox>
<toolkit:PhoneTextBox Hint="Search"
TextChanged="SearchBox_TextChanged"
Name="SearchBox"
Grid.Row="0" />
</Grid>
</ScrollViewer>
</phone:PivotItem>
I tried StackPanel and Grid but they weren't better. Could you please give me some solutions?
Thanks in advance.