Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Listbox contain several items. when i scroll to last item and take initiate to select the item by taping on is not possible cause of that item presence under application bar. Now anybody can say what should i do???

XML
<Grid x:Name="LayoutRoot" Background="{StaticResource PhoneChromeBrush}">
        <ListBox x:Name="categoryListbox" Grid.Row="0" HorizontalAlignment="Stretch" SelectionChanged="categoryListbox_SelectionChanged"  >
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Grid x:Name="content" >
                        <Grid.RowDefinitions>
                            <RowDefinition Height="100"/>
                                <RowDefinition Height=""/>
                            </Grid.RowDefinitions>
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="5,3,3,3">
                            <Image x:Name="img" Source="{Binding category_icon_link}" Tag="{Binding id}" Height="80" Width="80" Margin="3,0,5,0"/>
                            <TextBlock x:Name="categoryName" Text="{Binding category_name}" VerticalAlignment="Center"  FontSize="32"/>
                        </StackPanel>
                    </Grid>
                </DataTemplate>
            </ListBox.ItemTemplate>
            </ListBox>
    </Grid>
Posted
Comments
Sergey Alexandrovich Kryukov 6-May-14 10:38am    
Sorry, this description is very unclear...
—SA

I think you are not able to select the last item because there is a possiblity of a scroll issue. try keeping your listbox inside the <scrollviewer>. In that case your list will be scrollable completely and not hidden under the appbar.

Hope this helps
 
Share this answer
 
Last item was shown under application bar. I just Decreased the height of Listbox then the problem solved. Thanks to all.
 
Share this answer
 
Comments
Kornfeld Eliyahu Peter 11-May-14 3:30am    
Please post your comments using 'Have a Question or Comment?' button and not as a solution!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900