Northwoods.GoSilverlight 1.2.2 Assembly
SelectionDeleting Event
See Also  Send Feedback
Northwoods.GoXam Namespace > Diagram Class : SelectionDeleting Event

This event is raised by Delete, before the deletion occurs.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Diagram")>
Public Event SelectionDeleting As EventHandler(Of DiagramEventArgs)
C# 
[CategoryAttribute("Diagram")]
public event EventHandler<DiagramEventArgs> SelectionDeleting

Event Data

The event handler receives an argument of type DiagramEventArgs containing data related to this event. The following DiagramEventArgs properties provide information specific to this event.

PropertyDescription
Element Gets or sets the specific FrameworkElement that was acted upon and that is the subject of the event.
Handled Gets or sets whether this event was handled or is considered cancelled.
OriginalSource (Inherited from System.Windows.RoutedEventArgs) 
Part Gets or sets the Part that was acted upon and that is the subject of the event.

Remarks

Set the Handled property on the DiagramEventArgs to cancel the deletion.

Requirements

See Also

© 2010 All Rights Reserved.