View2.cs 432 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Reflection;
  6. using NStack;
  7. namespace Terminal.Gui {
  8. public class View2 : View, ISupportInitializeNotification {
  9. public Thickness Margin { get; set; }
  10. void DrawThickness (Thickness thickness)
  11. {
  12. }
  13. public override void Redraw (Rect bounds)
  14. {
  15. base.Redraw (bounds);
  16. DrawThickness (Margin);
  17. }
  18. }
  19. }