Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Scroll into view in winlistview
posted

Hi All,

I am using the WinListView with some items. One item in the listview will be selected programmatically. I want the scroll bar to scroll automatically so as to bring that selected item into view if it is not visible within the view. How could i do it?

Thanks in Advance,

Manikandan

 

  • 69832
    Offline posted

    You could make it the ActiveItem, i.e., set the control's ActiveItem property to reference that item. You could also bring it into view without activating it using the UltraListViewItem.BringIntoView method.