Example #1
0
        protected virtual bool HandleBeginManipulation(UIElement sourceElement, RectManipulations manipulations)
        {
            var args = new MoverManipulationEventArgs(sourceElement, manipulations);

            BeginManipulation?.Invoke(this, args);

            return(!args.Cancel);
        }
Example #2
0
        protected virtual void HandleReleaseManipulation(UIElement sourceElement, RectManipulations manipulations)
        {
            var args = new MoverManipulationEventArgs(sourceElement, manipulations);

            ReleaseManipulation?.Invoke(this, args);
        }