LayoutFloatingWindow.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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.Markup;
  15. using System.Windows;
  16. using System.Xml.Serialization;
  17. namespace Xceed.Wpf.AvalonDock.Layout
  18. {
  19. [Serializable]
  20. [XmlInclude(typeof(LayoutAnchorableFloatingWindow))]
  21. [XmlInclude(typeof(LayoutDocumentFloatingWindow))]
  22. public abstract class LayoutFloatingWindow : LayoutElement, ILayoutContainer
  23. {
  24. public LayoutFloatingWindow()
  25. {
  26. }
  27. public abstract IEnumerable<ILayoutElement> Children { get; }
  28. public abstract void RemoveChild(ILayoutElement element);
  29. public abstract void ReplaceChild(ILayoutElement oldElement, ILayoutElement newElement);
  30. public abstract int ChildrenCount { get; }
  31. public abstract bool IsValid { get; }
  32. }
  33. }