WpfRectangleGripsValidateGripMove Method |
Called when a grip is being moved to allow for validation of this action.
This method will raise an OperationRequest 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 override WpfAnnotationGrip ValidateGripMove(
WpfAnnotationGrip grip,
Point newPosition
)
Protected Overrides Function ValidateGripMove (
grip As WpfAnnotationGrip,
newPosition As Point
) As WpfAnnotationGrip
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