Northwoods.GoSilverlight 1.2.2 Assembly
CanDelete Method
See Also  Send Feedback
Northwoods.GoXam Namespace > CommandHandler Class : CanDelete Method

This overridable predicate controls whether or not the Delete command is executed.

Syntax

Visual Basic (Declaration) 
Public Overridable Function CanDelete() As Boolean
C# 
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 (Diagram.SelectedParts).

Requirements

See Also

© 2010 All Rights Reserved.