Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Infragistics UltraListView auto scroll

Does anyone knows how to make the Infragistics UltraListView control scrolls down automatically whenever a new item is added?

like image 215
K.A.D. Avatar asked Dec 20 '25 00:12

K.A.D.


2 Answers

try this:

UltraListViewItem i = listView.Items[listView.Items.Count - 1];    
ISelectionManager selectionManager = listView as Infragistics.Win.ISelectionManager;    
selectionManager.SelectItem(i, true);    
i.Activate();

UltraListViewItem has BringIntoView() method, which would do the trick.

like image 24
Algirdas Avatar answered Dec 21 '25 14:12

Algirdas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!