C# PropertyGrid组件设置字符串多行文本编辑(MultilineStringEditor)
在对象属性定义Editor特性:
C# 全选
[Editor("System.ComponentModel.Design.MultilineStringEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
C# 全选
        /// <summary>
        /// 详细说明
        /// </summary>
        [Editor("System.ComponentModel.Design.MultilineStringEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
        [DisplayName("节点描述"), Description("获取或设置节点描述"), Editable(true)]
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this._Description = value;
            }
        }

版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
csframework.workflow C/S框架网  
