src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/UI/VirtualTreeControl.cs
/// <summary>
///     Raises the selection changed event.
/// </summary>
Raises the selection changed event.
Raises the selection changed event .
private void DoSelectionChanged()
        {
            if (!GetStateFlag(VTCStateFlags.RestoringSelection))
            {
                OnSelectionChanged(EventArgs.Empty);
            }
            if (Focused)
            {
                TestStartSelectionLabelEdit();
            }
        }
private void DoSelectionChanged ( ) { if ( ! GetStateFlag ( VTCStateFlags . RestoringSelection ) ) { OnSelectionChanged ( EventArgs . Empty ) ; } if ( Focused ) { TestStartSelectionLabelEdit ( ) ; } }
Raises the selection changed event.
Raises the selection changed event .
// It is somewhat arbitrary if we run this before or after the selection changed // event is fired. However, running this before means that the Focused property // of the tree control may be false. This property is often checked in a selection // changed event to see if the selected item should be the active selection context // for the application.