UltraListView infrared system

Does anyone know how to make the Infraistics UltraListView control automatically scroll whenever a new item is added?

+2


source to share


3 answers


try this:



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

      

+5


source


UltraListViewItem has a BringIntoView () method that would do the trick.



+3


source


For simple scrolling down, use the PerformAction method. There are many Infragistics constants that can be used as an argument ... intellisense gives good information on this:

(VB)

    UltraListView1.PerformAction(UltraWinListView.UltraListViewAction.ScrollVerticalBySmallIncrement)

      

And yes, it's a programming question.;)

+1


source







All Articles