Page 1 of 1

MultiSelect thumbs

Posted: Wed Dec 09, 2009 3:21 pm
by brunopacola
HI!

I would like select images but i don't know method...

I tried:

Code: Select all

            IndicesCollection myIndicesCollection = new IndicesCollection();
            ...
            thumbnailViewer.SelectedIndices = myIndicesCollection;
But propertie is read-only....How I select images? Thanks!

Re: MultiSelect thumbs

Posted: Thu Dec 10, 2009 8:12 pm
by Alex
Hello,

You can use this code to select the second image in the viewer:

Code: Select all

thumbnailViewer.SelectedIndices.Add(1)
thumbnailViewer.Invalidate()
Best regards, Alexander