public DragInfo(Point startPoint, Thumb draggedElement, RadWindow window) { this.MousePosition = this.StartPoint = startPoint; this.DraggedElement = draggedElement; this.DraggedThumbType = RadWindow.GetThumbType(draggedElement); if (this.DraggedThumbType != ThumbType.NONE) { this.InitialRectangle = new Rect(window.Left, window.Top, double.IsNaN(window.Width) ? window.ActualWidth : window.Width, double.IsNaN(window.Height) ? window.ActualHeight : window.Height); } }