GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / SelectionStarting Event
In This Topic
    SelectionStarting Event
    In This Topic
    The event that is raised before a number of objects are selected or de-selected.
    Syntax
    [Category("GoView")]
    [Description("Raised before a number of objects are selected or de-selected.")]
    public event EventHandler SelectionStarting
    Remarks

    This is paired with the SelectionFinished event in order to permit optimizations to skip updating other controls that depend on what is currently selected. You still need to implement ObjectGotSelection and ObjectLostSelection event handlers in order to detect the selection or de-selection of individual objects. Methods such as SelectAll, SelectInRectangle, CopySelection, DeleteSelection, and EditPaste will raise this event before (and the SelectionFinished event after) making changes to the Selection.

    These two events are not raised when individual objects are added or removed from the Selection, such as when the user clicks on an object. These two events have been added to allow certain optimizations to be implemented when many ObjectGotSelection and ObjectLostSelection events might occur "at once".

    All event handlers for this event should not modify the selection.

    See Also