Shuxia Ning
2025-01-13 8d141c03fc1e9f56dc13a8ea4b46278a66bba0fb
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 ShowEditorInViewAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public ShowEditorInViewAttribute(bool showEditor)
        {
            this.ShowEditor = showEditor;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public bool ShowEditor { get; set; }
 
    }
}