DockingManagerOverlayArea.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*************************************************************************************
  2. Extended WPF Toolkit
  3. Copyright (C) 2007-2013 Xceed Software Inc.
  4. This program is provided to you under the terms of the Microsoft Public
  5. License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
  6. For more features, controls, and fast professional support,
  7. pick up the Plus Edition at http://xceed.com/wpf_toolkit
  8. Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
  9. ***********************************************************************************/
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Linq;
  13. using System.Text;
  14. using System.Windows;
  15. namespace Xceed.Wpf.AvalonDock.Controls
  16. {
  17. public class DockingManagerOverlayArea : OverlayArea
  18. {
  19. internal DockingManagerOverlayArea(IOverlayWindow overlayWindow, DockingManager manager)
  20. : base(overlayWindow)
  21. {
  22. _manager = manager;
  23. base.SetScreenDetectionArea(new Rect(
  24. _manager.PointToScreenDPI(new Point()),
  25. _manager.TransformActualSizeToAncestor()));
  26. }
  27. DockingManager _manager;
  28. }
  29. }