Note that there are some explanatory texts on larger screens.

plurals
  1. POListPicker doesn't expand in StackPanel on WP7
    primarykey
    data
    text
    <p>Another day another problem, this time I think with a simple issue into XAML formatting.</p> <p>I have a ListPicker in a StackPanel on a XAML page in a WP7 app. Whenever I tap the ListPicker, it expands, but it appears to expand behind the item below it. If I have enough items in the list it opens in full screen mode which works fine.</p> <p>Any suggestions, pointers would be appreciated;</p> <pre><code>&lt;Grid Name="grdBought"&gt; &lt;StackPanel Visibility="Visible" Margin="0,0,0,0" Height="480"&gt; &lt;Button Name="btnSave" Grid.Row="0" Content="Save" Height="100" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="378" Click="btnSave_Click" /&gt; &lt;StackPanel Grid.Row="1" Orientation="Vertical"&gt; &lt;toolkit:ListPicker Name="CategoryPicker" Header="Select Category" HorizontalAlignment="Left" ItemsSource="{Binding Categories}" CacheMode="BitmapCache" TabIndex="0" Margin="0,0,0,0" SelectionChanged="CategoryPicker_SelectionChanged" Height="100" Width="195"&gt; &lt;toolkit:ListPicker.ItemTemplate&gt; &lt;DataTemplate&gt; &lt;StackPanel Orientation="Vertical" HorizontalAlignment="Left"&gt; &lt;TextBlock Text="{Binding CategoryDesc}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" FontSize="{StaticResource PhoneFontSizeMediumLarge}" /&gt; &lt;/StackPanel&gt; &lt;/DataTemplate&gt; &lt;/toolkit:ListPicker.ItemTemplate&gt; &lt;toolkit:ListPicker.FullModeItemTemplate&gt; &lt;DataTemplate&gt; &lt;StackPanel Name="item" Orientation="Vertical" Margin="0, 0, 0, 0"&gt; &lt;TextBlock Margin="0, 0, 0, 0" Text="{Binding CategoryDesc}" FontSize="40" TextWrapping="Wrap" /&gt; &lt;/StackPanel&gt; &lt;/DataTemplate&gt; &lt;/toolkit:ListPicker.FullModeItemTemplate&gt; &lt;/toolkit:ListPicker&gt; &lt;StackPanel Name="Items" Grid.Row="1" Orientation="Horizontal"&gt; &lt;TextBox Name="txtDescription" Height="100" Margin="0,0,0,0" Text="" Width="225" MaxLength="100" FontSize="40" InputScope="Text" /&gt; &lt;TextBox Name="txtAmount" HorizontalAlignment="Left" Text="0.00" Height="100" Margin="0,0,0,0" TextAlignment="Right" FontSize="40" FontFamily="Segoe WP Semibold" Width="163" KeyUp="txtAmount_KeyUp" /&gt; &lt;/StackPanel&gt; &lt;/StackPanel&gt; &lt;TextBlock Name="tb1" Text="Amount" Height="27" Margin="0,0,0,0" Width="137" /&gt; &lt;Button Name="button1" Content="Button" Height="72" HorizontalAlignment="Left" Margin="249,0,0,0" VerticalAlignment="Top" Width="160" Click="button1_Click" /&gt; &lt;/StackPanel&gt; </code></pre> <p></p> <p>I have been through the examples on the windowsphonegeek.com site, but I still can't make it work!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload