Northwoods.GoWPF 2.2.4 Assembly
CanDelete Method (CommandHandler)

This overridable predicate controls whether or not the Delete command is executed.
Syntax
Public Overridable Function CanDelete() As Boolean
public virtual bool CanDelete()

Return Value

by default, this returns true if the diagram is not IsReadOnly, if Diagram.AllowDelete is true, and if there are some selected parts (Diagram.SelectedParts).
Requirements
See Also

Reference

CommandHandler Class
CommandHandler Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback