ILayoutPositionableElement.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.Layout
  16. {
  17. internal interface ILayoutPositionableElement : ILayoutElement, ILayoutElementForFloatingWindow
  18. {
  19. GridLength DockWidth
  20. {
  21. get;
  22. set;
  23. }
  24. GridLength DockHeight
  25. {
  26. get;
  27. set;
  28. }
  29. double DockMinWidth { get; set; }
  30. double DockMinHeight { get; set; }
  31. bool IsVisible { get; }
  32. }
  33. internal interface ILayoutPositionableElementWithActualSize
  34. {
  35. double ActualWidth { get; set; }
  36. double ActualHeight { get; set; }
  37. }
  38. internal interface ILayoutElementForFloatingWindow
  39. {
  40. double FloatingWidth { get; set; }
  41. double FloatingHeight { get; set; }
  42. double FloatingLeft { get; set; }
  43. double FloatingTop { get; set; }
  44. bool IsMaximized { get; set; }
  45. }
  46. }