浏览代码

Added comment for CommentAttribute

Kenric Nugteren 5 月之前
父节点
当前提交
7ee92f80ed
共有 1 个文件被更改,包括 4 次插入0 次删除
  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
 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 class CommentAttribute : Attribute
     {
     {
         public string Comment { get; set; }
         public string Comment { get; set; }