namespace Yw.WinFrmUI { /// /// 确定是否允许在视图中显示编辑框 /// [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class ShowEditorInViewAttribute : Attribute { /// /// /// public ShowEditorInViewAttribute(bool showEditor) { this.ShowEditor = showEditor; } /// /// /// public bool ShowEditor { get; set; } } }