KEMBAR78
Setting CollectionView.SelectedItem = null does nothing · Issue #10025 · dotnet/maui · GitHub
Skip to content

Setting CollectionView.SelectedItem = null does nothing #10025

@mattleibow

Description

@mattleibow

Description

I have a simple collection view that is bound to a VM and I am trying to set (unset actually) the SelectedItem to null.

I tried setting the bound property on the VM and the actual vc.SlectedItem = null but it remains selected.

I tried setting the SelectionMode to None, and this causes the property to now return null, but setting it back to Single causes it to "reselect".

Steps to Reproduce

TODO

Link to public reproduction project repository

TODO

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows, I was not able test on other platforms

Affected platform versions

All

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions