Shuxia Ning
2024-11-19 a01861a95ede48fa4979a47b24f21616e362e534
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; }
 
    }
}