views:

367

answers:

2

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

+3  A: 

try this:

UltraListViewItem i= listView.Items[ listView.Items.Count-1 ];

ISelectionManager selectionManager = listView as Infragistics.Win.ISelectionManager;

selectionManager.SelectItem(i, true);

i.Activate();

A: 

For a simple scroll down, use the PerformAction method. There are a variety of Infragistics constants that can be used as the argument... intellisense gives good info on this:

(VB)

    UltraListView1.PerformAction(UltraWinListView.UltraListViewAction.ScrollVerticalBySmallIncrement)

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

SamG