GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoView Class
/ DeleteSelection Method
The collection of objects to be deleted; if null, this view's
Selection
is used.
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
DeleteSelection Method
In This Topic
Delete a collection of objects.
Syntax
C#
public
virtual
void
DeleteSelection(
GoSelection
sel
)
Parameters
sel
The collection of objects to be deleted; if null, this view's
Selection
is used.
Remarks
This method heeds the
CanDeleteObjects
property if
sel
is this view's
Selection
, and it heeds each object's
CanDelete
property as well. All actions take place within a
GoUndoManager
.
GoUndoManager.DeleteSelectionName
transaction. This method also calls
RaiseSelectionDeleting
,
RaiseSelectionStarting
,
RaiseSelectionFinished
, and
RaiseSelectionDeleted
.
See Also
Reference
GoView Class
GoView Members