public async Task ToggleSelectedAsync(BaseTableRow row) { if (row.Selected) { var current = Current; Current = row; if (current != null && current != row && current.Selected) { await current.ToggleSelectedAsync(); } } }
public async Task ToggleSelectedAsync(BaseTableRow row) { if (row.Selected) { var current = Current; Current = row; if (current != null && current != row && current.Selected) { await current.ToggleSelectedAsync(); } SelectionChanged?.Invoke(Current.RowItem); } else { SelectionChanged?.Invoke(null); } }