Northwoods.GoWPF 2.2.4 Assembly
SelectionDeleting Event

This event is raised by Delete, before the deletion occurs.
Syntax
<CategoryAttribute("Diagram")>
Public Event SelectionDeleting As EventHandler(Of DiagramEventArgs)
[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 (Inherited from System.Windows.RoutedEventArgs)Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
OriginalSource (Inherited from System.Windows.RoutedEventArgs)Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class.
Part Gets or sets the Part that was acted upon and that is the subject of the event.
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance.
Source (Inherited from System.Windows.RoutedEventArgs)Gets or sets a reference to the object that raised the event.
Remarks
Set the Handled property on the DiagramEventArgs to cancel the deletion. The SelectedParts collection holds the currently selected Parts.
Requirements
See Also

Reference

Diagram Class
Diagram Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback