ILayoutRoot.cs 632 B

1234567891011121314151617181920212223242526
  1. using Avalonia.Metadata;
  2. namespace Avalonia.Layout
  3. {
  4. /// <summary>
  5. /// Defines the root of a layoutable tree.
  6. /// </summary>
  7. [NotClientImplementable]
  8. public interface ILayoutRoot
  9. {
  10. /// <summary>
  11. /// The size available to lay out the controls.
  12. /// </summary>
  13. Size ClientSize { get; }
  14. /// <summary>
  15. /// The scaling factor to use in layout.
  16. /// </summary>
  17. double LayoutScaling { get; }
  18. /// <summary>
  19. /// Associated instance of layout manager
  20. /// </summary>
  21. internal ILayoutManager LayoutManager { get; }
  22. }
  23. }