1、UITypeEditorEditStyle.None
不提供任何用户交互的界面
2、 UITypeEditorEditStyle.Modal
使用模式或者模式对话框进行交互,一般是form
重写UITypeEditor
public class LengthPropertyEditor : UITypeEditor
{
public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context)