コード例 #1
0
ファイル: Mover.cs プロジェクト: mcculic/millarowframework
        protected virtual bool HandleBeginManipulation(UIElement sourceElement, RectManipulations manipulations)
        {
            var args = new MoverManipulationEventArgs(sourceElement, manipulations);

            BeginManipulation?.Invoke(this, args);

            return(!args.Cancel);
        }
コード例 #2
0
ファイル: Mover.cs プロジェクト: mcculic/millarowframework
        protected virtual void HandleReleaseManipulation(UIElement sourceElement, RectManipulations manipulations)
        {
            var args = new MoverManipulationEventArgs(sourceElement, manipulations);

            ReleaseManipulation?.Invoke(this, args);
        }