Bug 22092 - Windows phone the listview don't show any selection rectangle when using xaml and datatemplates.
Summary: Windows phone the listview don't show any selection rectangle when using xaml...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-08-14 04:10 UTC by Henrik Stromberg
Modified: 2015-05-18 19:46 UTC (History)
4 users (show)

Tags: windows listview
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Henrik Stromberg 2014-08-14 04:10:34 UTC
Using xanl below don't show selection rectangle on Windows Phone

ItemsSource="{Binding Restaurant.Dishes}"
<Grid ColumnSpacing="4" RowSpacing="4" Padding="0,0,0,8">
<ColumnDefinition Width="*" />
<ColumnDefinition Width="50" />
<RowDefinition Height="*" />
<RowDefinition Height="2" />
<Label Text="{Binding Name}" />
<Label Text="{Binding PriceText}" Grid.Column="1" HorizontalOptions="EndAndExpand" />
<BoxView Color="#FF1F95FD" Grid.Row="1" Grid.ColumnSpan="2" />
Comment 1 Eric Maupin 2015-05-18 19:46:08 UTC
As of 1.3.0, Labels in your ViewCell should now be set to a selection color when selected.