In SfListView, the item background color will not be displayed for the selected item if the background color is defined for and this is the actual behavior in framework. However, it can be achieved through a work around by defining a property in data model and using a custom converter.
In the model class, define a IsSelected property which indicates whether the item is selected or not and it will have updated when the selection is performed using the event. Based on this property, you can change the background color of View defined in the property by custom converter class.
You can change the background color of the view based on the IsSelected property using the SelectionBoolToBackgroundColorConverter class.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.