src/Misc/EFTools/DesignXmlCore/Base/Shell/TreeGridDesignerToolWindow.cs
/// <summary>
///     Called by derived classes to indicate that selection has changed.  Implements selection logic based
///     on attributes placed on selected objects.
/// </summary>
/// <returns>true if selection changed</returns>
Called by derived classes to indicate that selection has changed.  Implements selection logic based
on attributes placed on selected objects.
Called by derived classes to indicate that selection has changed . Implements selection logic based on attributes placed on selected objects .
protected bool DoSelectionChanged(ISelectionService newSelection)
        {
            if (newSelection != null)
            {
                return DoSelectionChanged(newSelection.PrimarySelection);
            }
            return false;
        }
protected bool DoSelectionChanged ( ISelectionService newSelection ) { if ( newSelection != null ) { return DoSelectionChanged ( newSelection . PrimarySelection ) ; } return false ; }
Called by derived classes to indicate that selection has changed.
Called by derived classes to indicate that selection has changed .
// operation designer only cares about the primary selection
true if selection changed
true if selection changed
newSelection
ISelectionService