ListObject::Deselected Event

 

Occurs when selection moves from the ListObject control to outside of the ListObject control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

event DocEvents_SelectionChangeEventHandler^ Deselected {
	void add(DocEvents_SelectionChangeEventHandler^ value);
	void remove(DocEvents_SelectionChangeEventHandler^ value);
}

This event is raised only when the ListObject control has focus, and then focus is transferred away from the ListObject control.

The following code example creates a ListObject and a Deselected event handler. When the ListObject is selected and then an object outside of the ListObject is selected, a message is displayed that indicates that the selection has changed.

This version is for a document-level customization.

No code example is currently available or this language may not be supported.

This version is for an application-level add-in.

No code example is currently available or this language may not be supported.
Return to top
Show: