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) |
Be aware that the RegionsAreEditable property needs to be turned on to enable the region selection.
Please follow the example for the RegionSelected event to motivate yourself on how to utilize this event in your GdViewer control.