View.Diagnostics.cs 560 B

123456789101112
  1. namespace Terminal.Gui.ViewBase;
  2. public partial class View
  3. {
  4. /// <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>
  5. /// <remarks>
  6. /// <para>
  7. /// <see cref="Adornment.Diagnostics"/> gets set to this property by default, enabling <see cref="ViewDiagnosticFlags.Ruler"/> and <see cref="ViewDiagnosticFlags.Thickness"/>.
  8. /// </para>
  9. /// </remarks>
  10. public static ViewDiagnosticFlags Diagnostics { get; set; }
  11. }