GdPicture.NET.14
GdPicture14.WPF Namespace / GdViewer Class / PreviewRectEdited Event





In This Topic
PreviewRectEdited Event
In This Topic
This event is raised when the user has drawn or edited (means moved or resized) the rectangle of area selection using the mouse.

The event makes use of tunel routing strategy. Please check the corresponded GdViewer.RectEditedEventArgs for more details.

Syntax
'Declaration
 
Public Event PreviewRectEdited As GdViewer.PreviewRectEditedHandler
public event GdViewer.PreviewRectEditedHandler PreviewRectEdited
public event PreviewRectEdited: GdViewer.PreviewRectEditedHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewRectEditedHandler* PreviewRectEdited
public:
event GdViewer.PreviewRectEditedHandler^ PreviewRectEdited
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.

PropertyDescription
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Example
Please follow the example for the RectEdited event to motivate yourself on how to utilize this event in your GdViewer control.
See Also