Esempio n. 1
0
		public void End(Point posEnd)
		{
		    if (_resizeCtrl == null) return;
		    _resizeCtrl.OwnerElement.Invalidate();

		    _resizeCtrl.End(posEnd);

		    //Events
		    var eventResizeArg = new ElementEventArgs(_resizeCtrl.OwnerElement);
		    _onElementResizingDelegate(eventResizeArg);

		    IsResizing = false;
		}
Esempio n. 2
0
        public void End(Point posEnd)
        {
            if (resizeCtrl != null)
            {
                resizeCtrl.OwnerElement.Invalidate();

                resizeCtrl.End(posEnd);

                //Events
                ElementEventArgs eventResizeArg = new ElementEventArgs(resizeCtrl.OwnerElement);
                onElementResizingDelegate(eventResizeArg);

                isResizing = false;
            }
        }
Esempio n. 3
0
        public void End(Point endPoint)
        {
            if (_resizeController != null)
            {
                _resizeController.OwnerElement.Invalidate();

                _resizeController.End(endPoint);

                //Events
                var eventResizeArg = new ElementEventArgs(_resizeController.OwnerElement);
                _onElementResizingDelegate(eventResizeArg);

                IsResizing = false;
            }
        }