'Declaration
Public Event PreviewRegionEdited As GdViewer.PreviewRegionEditedHandler
public event GdViewer.PreviewRegionEditedHandler PreviewRegionEdited
public event PreviewRegionEdited: GdViewer.PreviewRegionEditedHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewRegionEditedHandler* PreviewRegionEdited
public: event GdViewer.PreviewRegionEditedHandler^ PreviewRegionEdited
Event Data
The event handler receives an argument of type GdViewer.RegionEditedEventArgs containing data related to this event. The following GdViewer.RegionEditedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RegionID | The unique region identifier of the highlighted region edited by a user. |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Remarks
Be aware that the RegionsAreEditable property needs to be turned on to enable region editing.
Example
Please follow the example for the RegionEdited event to motivate yourself on how to utilize this event in your GdViewer control.
See Also