private bool ShouldPaneDiamondVisible() { if (this.DockPane == null) return false; if (!this.DockPanel.AllowEndUserNestedDocking) return false; return this.DragHandler.DragSource.CanDockTo(this.DockPane); }