M-Files UI Extensibility Framework
OnSelectionChanged Event
M-Files UI Extensibility Framework > Events > OnSelectionChanged Event
Triggered when the selection in the listing view is set, changed or removed.

selectedItems : IShellItems [ in ]

Contains the selected items.

listing : IShellListing [ in ]

The shell listing in which the selection was changed.

When you are using this event with the IShellListing object, do not include the listing parameter. With the IShellFrame object, both parameters should be used.

The event is delayed to avoid unnecessary updates. Supported in M-Files 9.0.3372.6 and newer.