GoXam for WPF v3
CanDelete Method (CommandHandler)
Northwoods.GoXam Namespace > CommandHandler Class : CanDelete Method
This overridable predicate controls whether or not the Delete command is executed.
Syntax
public virtual bool CanDelete()

Return Value

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

Reference

CommandHandler Class
CommandHandler Members