VintaSoft Imaging .NET SDK and Plug-ins Discussions

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Order of events in ThumbNail Viewers



Order of events in ThumbNail Viewers

Post by dcp »

There are a number of standard Windows events which are available in the ThumbnailViewer.
e.g. MouseDown, Click, DoubleClick, MouseClick, MouseDoubleClick etc.

However, when a thumbnail is clicked, VintasoftImaging library automatically updates the displayed image in an ImageViewer. This is separate from any code in these events.

When does the built-in VintasoftImaging functionality function in the order of these events?
i.e. which events come before Vintasoft Imaging updates the imageViewer, and which ones occur afterwards?


Re: Order of events in ThumbNail Viewers

Post by Alex »

Hello,

Here is a list of main events:
1. ImageCollection.CollectionChanging event occurs while the ImageCollection is changing because of image(s) being added or removed, images being swapped.
2. ImageCollection.CollectionChanged event occurs after the ImageCollection is changed because of image(s) being added or removed, images being swapped.
3. ImageViewerBase.FocusedIndexChanged event occurs when the ImageViewerBase.FocusedIndex is changed.

Please read about events in documentation.

Best regards, Alexander


Page 1 from 1: 1