View.Diagnostics.cs 577 B

12345678910111213
  1. #nullable enable
  2. namespace Terminal.Gui.ViewBase;
  3. public partial class View
  4. {
  5. /// <summary>Gets or sets whether diagnostic information will be drawn. This is a bit-field of <see cref="ViewDiagnosticFlags"/>.e <see cref="View"/> diagnostics.</summary>
  6. /// <remarks>
  7. /// <para>
  8. /// <see cref="Adornment.Diagnostics"/> gets set to this property by default, enabling <see cref="ViewDiagnosticFlags.Ruler"/> and <see cref="ViewDiagnosticFlags.Thickness"/>.
  9. /// </para>
  10. /// </remarks>
  11. public static ViewDiagnosticFlags Diagnostics { get; set; }
  12. }