Interface

# ListSelectionNotifier

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

A <span class="title-ref">ListSelectionNotifier</span> object calls the SelectionChanged and SelectionChanging methods of each `ListSelectionNotificationReceiver</api/language/listselectionnotificationreceiver>` registered with it.

## Methods

<div class="rst-class">

table-centered_column_4

</div>

| Name                                                                                                     | Parameters                                                                                       | Returns | Shared |
|----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|---------|--------|
| `AddListSelectionNotificationReceiver<listselectionnotifier.addlistselectionnotificationreceiver>`       | receiver As `ListSelectionNotificationReceiver</api/language/listselectionnotificationreceiver>` |         |        |
| `RemoveListSelectionNotificationReceiver<listselectionnotifier.removelistselectionnotificationreceiver>` | receiver As `ListSelectionNotificationReceiver</api/language/listselectionnotificationreceiver>` |         |        |

## Method descriptions

<div id="listselectionnotifier.addlistselectionnotificationreceiver">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ListSelectionNotifier.AddListSelectionNotificationReceiver

**AddListSelectionNotificationReceiver**(receiver As `ListSelectionNotificationReceiver</api/language/listselectionnotificationreceiver>`)

> Registers a ListSelectionNotificationReceiver.

<div id="listselectionnotifier.removelistselectionnotificationreceiver">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ListSelectionNotifier.RemoveListSelectionNotificationReceiver

**RemoveListSelectionNotificationReceiver**(receiver As `ListSelectionNotificationReceiver</api/language/listselectionnotificationreceiver>`)

> Removes a previously registered ListSelectionNotificationReceiver.

## Compatibility

|                       |                       |
|-----------------------|-----------------------|
| **Project Types**     | Console, Desktop, Web |
| **Operating Systems** | All                   |

<div class="seealso">

`ListSelectionNotificationReceiver</api/language/listselectionnotificationreceiver>`

</div>
