Beispiel #1
0
        private void Clicked(CommitViewModel commitViewModel)
        {
            if (commitViewModel.IsMergePoint)
            {
                // User clicked on a merge point (toggle between expanded and collapsed)
                int rowsChange = viewModelService.ToggleMergePoint(this, commitViewModel.Commit);

                ScrollRows(rowsChange);
                VirtualItemsSource.DataChanged(width);
            }
        }