- I cannot realize some simple things with RadListView:
1. I want to set the background color of the selected item.
RadListView offers the poperty SelectedItemStyle. But nothing
happens when I click on an item. I've extended for example the ControlSamples
project:
ListViewControl => FirstLookExample => FirstLookView.xaml
line 15: <telerik:RadListView x:Name="listView"
IsItemsReorderEnabled="True"
ItemsSource="{Binding People}"
SelectionMode="Single">
<telerik:RadListView.SelectedItemStyle>
<telerik:ListViewItemStyle
BackgroundColor="#FFFF0000"
BorderColor="#FF00FF00" />
</telerik:RadListView.SelectedItemStyle>
When I click on an item, the background remains white.
2. RadListView has no property "SelectionChangedCommand". How to assign such a command
from a viewmodel to RadListView?
With a CollectionView all works fine. But there I cannot switch on the reordering feature with a simple flag.