Hello,
I want to use two thumbnailviewers (A, B).
I want it to be automatically transferred to thumbnailviewer 'B' when I select an image in thumbnailviewer 'A'. If the selection is lost in 'A', delete it from 'B'. Can this be automated?
Thanks.
Attila
Automatic copying between thumbnailviewers
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Automatic copying between thumbnailviewers
Hello Attila,
Yes, this is possible.
ThumbnailViewer.SelectedIndices property returns collection of indices of the selected thumbnails as instance of class SelectedThumbnailImageIndexCollection. You can subscribe to the SelectedThumbnailImageIndexCollection.Changed event and understand that selected thumbnails are changed in thumbnail viewer 'A'. After this you can do necessary task in thumbnail viewer 'B'.
Best regards, Alexander
Yes, this is possible.
ThumbnailViewer.SelectedIndices property returns collection of indices of the selected thumbnails as instance of class SelectedThumbnailImageIndexCollection. You can subscribe to the SelectedThumbnailImageIndexCollection.Changed event and understand that selected thumbnails are changed in thumbnail viewer 'A'. After this you can do necessary task in thumbnail viewer 'B'.
Best regards, Alexander
-
- Posts: 2
- Joined: Fri Dec 11, 2020 2:29 am
Re: Automatic copying between thumbnailviewers
Thanks for the quick reply Alex.
Best regards,
Attila
Best regards,
Attila