Click or drag to resize

WpfAnnotationGripsValidateGripMove Method

Called when a grip is being moved to allow for validation of this action. This method will raise an OperationRequest(OperationRequestInformation) on the annotation.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
protected virtual WpfAnnotationGrip ValidateGripMove(
	WpfAnnotationGrip grip,
	Point newPosition
)

Parameters

grip
Type: Atalasoft.Annotate.WpfWpfAnnotationGrip
The grip being moved.
newPosition
Type: System.WindowsPoint
The requested new position of the grip.

Return Value

Type: WpfAnnotationGrip
The grip to be moved or null (Nothing in VB) to reject this action.
See Also