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

            BeginManipulation?.Invoke(this, args);

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

            ReleaseManipulation?.Invoke(this, args);
        }