回复 1楼紫藤的帖子
紫藤你好,
MultiColumnComboBoxCellType 没有这个内置属性,可以通过以下方法实现:
- public Form1()
- {
- InitializeComponent();
- this.fpSpread1.EditModeOn += new EventHandler(fpSpread1_EditModeOn);
- }
- void fpSpread1_EditModeOn(object sender, EventArgs e)
- {
- MultiColumnEditor edtior = this.fpSpread1.EditingControl as MultiColumnEditor;
- edtior.MaxLength = 2;
- }
复制代码 |