DisplayModeChangeData

If a script add-in implements the OnDisplayModeChange event, the method receives a DisplayModeChangeData object when the display mode is changed in a tab.

 

Property Name

Return Type

Description

mode

string

Returns a string indicating the new display mode. Will be one of largeicons, smallicons, list, details, power, thumbnails or tiles.

qualifiers

string

Returns a string indicating any qualifier keys that were held down by the user when the event was triggered.

The string can contain any or all of the following: shift ctrl, alt, lwin, rwin

If no qualifiers were down, the string will be: none

tab

object:Tab 

Returns a Tab object representing the tab the display mode changed in.