reference:scripting_reference:scripting_events:onstyleselected

The OnStyleSelected event can be implemented by a script add-in to receive notification when the user selects a new Lister style.

Method Name: OnStyleSelected

Argument Type:

StyleSelectedData 

Return Type:

none

Description:

The StyleSelectedData.lister property identifies the Lister, and the style property returns the name of the newly selected style.