Explorar o código

code cleanup.

Tig hai 1 ano
pai
achega
1267038899

+ 1 - 1
Terminal.Gui/View/Navigation/FocusEventArgs.cs

@@ -1,6 +1,6 @@
 namespace Terminal.Gui;
 
-/// <summary>Defines the event arguments for <see cref="View.HasFocus"/></summary>
+/// <summary>The event arguments for <see cref="View.HasFocus"/> events.</summary>
 public class HasFocusEventArgs : CancelEventArgs<bool>
 {
     /// <summary>Initializes a new instance.</summary>

+ 10 - 2
Terminal.Gui/View/Navigation/TabBehavior.cs

@@ -8,6 +8,13 @@ public enum TabBehavior
     /// <summary>
     ///     The View will not be a stop-poknt for keyboard-based navigation.
     /// </summary>
+    /// <remarks>
+    ///     <para>
+    ///         This flag has no impact on whether the view can be focused via means other than the keyboard. Use
+    ///         <see cref="View.CanFocus"/>
+    ///         to control whether a View can focus or not.
+    ///     </para>
+    /// </remarks>
     NoStop = 0,
 
     /// <summary>
@@ -16,7 +23,8 @@ public enum TabBehavior
     TabStop = 1,
 
     /// <summary>
-    ///     The View will be a stop-point for keyboard-based navigation across groups (e.g. if the user presses <see cref="Application.NextTabGroupKey"/> (`Ctrl-PageDown`).
+    ///     The View will be a stop-point for keyboard-based navigation across groups (e.g. if the user presses
+    ///     <see cref="Application.NextTabGroupKey"/> (`Ctrl-PageDown`).
     /// </summary>
-    TabGroup = 2,
+    TabGroup = 2
 }