Different events have different Context Attributes which allow you to retrieve information about the event. For example, if the selection changes, you can find out whether something was added to or removed from the selection by using the Context.GetAttribute or Context::GetAttribute method with the Change Type context attribute. For a complete list of Context Attributes available for each event, see Context Attributes.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License