private void WindowTitleThumbMoveOnDragDelta(object sender, DragDeltaEventArgs dragDeltaEventArgs) { var window = this.ParentWindow; if (window != null && this.Position != Position.Bottom) { MetroWindow.DoWindowTitleThumbMoveOnDragDelta((Thumb)sender, window, dragDeltaEventArgs); } }
private void WindowTitleThumbMoveOnDragDelta(object sender, DragDeltaEventArgs dragDeltaEventArgs) { var window = this.ParentWindow; if (window != null && this.Position != Position.Bottom && this.dragStartedMousePos.GetValueOrDefault().Y <= window.TitlebarHeight && window.TitlebarHeight > 0) { MetroWindow.DoWindowTitleThumbMoveOnDragDelta(sender as IMetroThumb, window, dragDeltaEventArgs); } }
private void WindowTitleThumbMoveOnDragDelta(object sender, DragDeltaEventArgs e) { MetroWindow parentWindow = this.ParentWindow; if (parentWindow != null && this.Position != MahApps.Metro.Controls.Position.Bottom) { MetroWindow.DoWindowTitleThumbMoveOnDragDelta(parentWindow, e); } }