TestLayoutRoot.cs 539 B

1234567891011121314151617181920212223
  1. // Copyright (c) The Perspex Project. All rights reserved.
  2. // Licensed under the MIT license. See licence.md file in the project root for full license information.
  3. using Perspex.Controls;
  4. namespace Perspex.Layout.UnitTests
  5. {
  6. internal class TestLayoutRoot : Decorator, ILayoutRoot
  7. {
  8. public TestLayoutRoot()
  9. {
  10. ClientSize = new Size(500, 500);
  11. }
  12. public Size ClientSize
  13. {
  14. get;
  15. set;
  16. }
  17. public Size MaxClientSize => Size.Infinity;
  18. }
  19. }