# OnStyleSelected

The **OnStyleSelected** event can be implemented by a [script add-in](../../../scripting/script_add-ins) to receive notification when the user selects a new [Lister style](../../../basic_concepts/the_lister/styles).

| **Method Name:**   | OnStyleSelected                                                                                                                           |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Argument Type:** | [**StyleSelectedData**](../scripting_objects/styleselecteddata)                                                                           |
| **Return Type:**   | _none_                                                                                                                                    |
| **Description:**   | The **StyleSelectedData.lister** property identifies the Lister, and the **style** property returns the name of the newly selected style. |
