Page 1 of 1

Scroll to last panellist item?

PostPosted: 07 Jun 2017 15:31
by jorgo
Hi,

how can I scroll to the last panellist item?

myList.ScrollTo(myList.Items.Items[myList.Items.Count - 1]);

Is there a better solution?

Kind regards

Re: Scroll to last panellist item?

PostPosted: 12 Jun 2017 10:06
by Alexander Bulei
Hi jorgo,

how can I scroll to the last panellist item?


myList.ScrollTo(myList.Items.Items[myList.Items.Count - 1]);


It's fine :)

Is there a better solution?


yes:

Code: Select all
myList.ScrollTo(myList.Items.Count - 1)


Best Regards.