~~Title: DisplayModeChangeData ~~
If a [[:scripting:script_add-ins|script add-in ]]implements the **[[..:scripting_events:ondisplaymodechange|OnDisplayModeChange]]** event, the method receives a **DisplayModeChangeData** object when the [[:basic_concepts:the_lister:view_modes|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|Tab]]**
$$ Returns a **[[tab|Tab]]** object representing the tab the display mode changed in.