'Declaration
Public Event PreviewRegionSelected As GdViewer.PreviewRegionSelectedHandler
public event GdViewer.PreviewRegionSelectedHandler PreviewRegionSelected
public event PreviewRegionSelected: GdViewer.PreviewRegionSelectedHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewRegionSelectedHandler* PreviewRegionSelected
public: event GdViewer.PreviewRegionSelectedHandler^ PreviewRegionSelected
Event Data
The event handler receives an argument of type GdViewer.RegionSelectedEventArgs containing data related to this event. The following GdViewer.RegionSelectedEventArgs 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 selected 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 the region selection.
Example
Please follow the example for the RegionSelected event to motivate yourself on how to utilize this event in your GdViewer control.
See Also