public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter) { DragSource = dragSource; RectSplitter = rectSplitter; if (!BeginDrag()) { DragSource = null; return; } Outline = new SplitterOutline(); Outline.Show(rectSplitter); DragSource.BeginDrag(rectSplitter); }
public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter) { DragSource = dragSource; RectSplitter = rectSplitter; if (!BeginDrag()) { DragSource = null; return; } if (Type.GetType("Mono.Runtime") == null) { rectSplitter = Rectangle.Empty; } Outline = new SplitterOutline(); Outline.Show(rectSplitter); DragSource.BeginDrag(rectSplitter); }
public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter) { DragSource = dragSource; RectSplitter = rectSplitter; if (!BeginDrag()) { DragSource = null; return; } if (DockPanel != null && !DockPanel.AllowChangeDock) { DragSource = null; return; } Outline = new SplitterOutline(); Outline.Show(rectSplitter); DragSource.BeginDrag(rectSplitter); }