ILayoutUpdateStrategy.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. namespace Xceed.Wpf.AvalonDock.Layout
  15. {
  16. public interface ILayoutUpdateStrategy
  17. {
  18. bool BeforeInsertAnchorable(
  19. LayoutRoot layout,
  20. LayoutAnchorable anchorableToShow,
  21. ILayoutContainer destinationContainer);
  22. void AfterInsertAnchorable(
  23. LayoutRoot layout,
  24. LayoutAnchorable anchorableShown);
  25. bool BeforeInsertDocument(
  26. LayoutRoot layout,
  27. LayoutDocument anchorableToShow,
  28. ILayoutContainer destinationContainer);
  29. void AfterInsertDocument(
  30. LayoutRoot layout,
  31. LayoutDocument anchorableShown);
  32. }
  33. }