# OnDisplayModeChange

The **OnDisplayModeChange** event can be implemented by a [script add-in](../../../scripting/script_add-ins) to receive notification whenever the user changes the [display mode](../../../basic_concepts/the_lister/view_modes) in a tab.

| **Method Name:**   | OnDisplayModeChange                                                                                                       |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------- |
| **Argument Type:** | [**DisplayModeChangeData**](../scripting_objects/displaymodechangedata)                                                   |
| **Return Type:**   | _none_                                                                                                                    |
| **Description:**   | The **DisplayModeChangeData.tab** property identifies the tab, and the **mode** property identifies the new display mode. |
