'Declaration
Public Event RectEdited As GdViewer.RectEditedHandler
public event GdViewer.RectEditedHandler RectEdited
public event RectEdited: GdViewer.RectEditedHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.RectEditedHandler* RectEdited
public: event GdViewer.RectEditedHandler^ RectEdited
Event Data
The event handler receives an argument of type GdViewer.RectEditedEventArgs containing data related to this event. The following GdViewer.RectEditedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Example
How to utilize this event in your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated 'and the RectEdited event has been properly added. 'Define the event. Sub GdViewer1_RectEdited(ByVal sender As Object, ByVal e As GdPicture14.WPF.GdViewer.RectEditedEventArgs) 'Do your stuff here. End Sub
//We assume that the GdViewer1 control has been properly integrated //and the RectEdited event has been properly added. //Define the event. void GdViewer1_RectEdited(object sender, GdPicture14.WPF.GdViewer.RectEditedEventArgs e) { //Do your stuff here. }
See Also