View.Diagnostics.cs 608 B

12345678910111213
  1. namespace Terminal.Gui.ViewBase;
  2. public partial class View
  3. {
  4. // TODO: Make this a configuration property
  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. }