The OnDisplayModeChange event can be implemented by a script add-in to receive notification whenever the user changes the display mode in a tab.

Method Name: OnDisplayModeChange

Argument Type:

DisplayModeChangeData 

Return Type:

none

Description:

The DisplayModeChangeData.tab property identifies the tab, and the mode property identifies the new display mode.