Hello,
I'm working on a custom ListView
to allow multiple selection of cells using ViewCell
DataTemplate:
var editing = view.IsMultipleSelecting; // from CustomListView
control.AllowsMultipleSelection = editing;
control.AllowsMultipleSelectionDuringEditing = editing;
control.SetEditing(editing, true);
There is one problem that I can't get to work. When Editing
mode is enabled, the cells are way Indented and I still can't find a way to work around it. I tried these options in both ListViewRenderer
(OnElementPropertyChanged override) and ViewCellRenderer
(GetCell override) but still no luck:
cell.IndentationWidth = 0;
cell.IndentationLevel = 0;
cell.ShouldIndentWhileEditing = false;
Please if someone can shed a light on this.
Thank you!