M-Files UI Extensibility Framework
OnSelectedItemsChanged Event
M-Files UI Extensibility Framework > Events > OnSelectedItemsChanged Event
Triggered when one or more of the items that are currently selected are modified.

selectedItems : IShellItems [ in ]

Contains the selected items.

listing : IShellListing [ in ]

The shell listing in which the selected items were 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.