Browse Source

Added comment for CommentAttribute

Kenric Nugteren 6 tháng trước cách đây
mục cha
commit
7ee92f80ed
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      InABox.Core/Objects/Editors/Utils/CommentAttribute.cs

+ 4 - 0
InABox.Core/Objects/Editors/Utils/CommentAttribute.cs

@@ -4,6 +4,10 @@ using System.Text;
 
 namespace InABox.Core
 {
+    /// <summary>
+    /// Sets the "comment" of a given property. This allows for telling the user what a given column does, when selecting columns for grids and filters and stuff.
+    /// This also is used as the <see cref="BaseEditor.ToolTip"/> if there is none provided.
+    /// </summary>
     public class CommentAttribute : Attribute
     {
         public string Comment { get; set; }