DataGrid Vertical Scroll Bar Problem #17839
Unanswered
keynes1981
asked this question in
Q&A
Replies: 1 comment
-
Avalonia's ControlCatalog.Desktop DataGridPage shows the same vertical scrollbar behavior. I think you should turn this into an issue, to see if it can be fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found a strange problem when I was using DataGrid:
1、When the app is started, the window size is normal
2、Added enough data into DataGrid to make the Vertical Scroll Bar be shown.
2、Use the mouse wheel to scroll the Vertical Scroll Bar down to the bottom of DataGrid.
3、Maxiumize the window size
4、Scroll the Vertical Scroll Bar up to the top of DataGrid
5、Scroll the Vertical Scroll Bar down until it cannot move, the last item of the datagrid is already in view, but the the scroll bar doesn't reach the bottom,it has a few distance to the bottom.
AvaloniaApplication4.zip
`
using System.Collections.ObjectModel;
namespace AvaloniaApplication5.ViewModels$"First Name {i}", $ "Last Name {i}");
{
public partial class MainWindowViewModel : ViewModelBase
{
public ObservableCollection People { get; set; }
public MainWindowViewModel()
{
List persons = [];
for (var i = 0; i < 50; i++)
{
var person = new Person(
persons.Add(person);
}
}`
Beta Was this translation helpful? Give feedback.
All reactions