private void OnFloatingWindowCaptionDragging(object sender, ScreenAndOffsetEventArgs e) { // Events are generated from the parent docking manager KryptonDockingManager dockingManager = DockingManager; dockingManager?.DoDragDrop(e.ScreenPoint, e.ElementOffset, null, this); }
/// <summary> /// Raises the WindowCaptionDragging event. /// </summary> /// <param name="e">An ScreenAndOffsetEventArgs that contains the event data.</param> protected virtual void OnWindowCaptionDragging(ScreenAndOffsetEventArgs e) { WindowCaptionDragging?.Invoke(this, e); }