lixiaojun
2025-01-22 46f64905a3c309a50c0f245b3350cdeb8dd699c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 确定是否为允许显示编辑框
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class ShowEditorAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public ShowEditorAttribute(bool showEditor)
        {
            this.ShowEditor = showEditor;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public bool ShowEditor { get; set; }
 
    }
}