回复 1楼sie的帖子
不可编辑的, 我找官方文档看来一遍,没有找到方法。
下面代码有近似效果,你试试看,能否满足需求。
- object lastValue = null;
- private void c1DropDownControl1_KeyPress(object sender, KeyPressEventArgs e)
- {
- lastValue = this.c1DropDownControl1.Value;
- }
- private void c1DropDownControl1_KeyUp(object sender, KeyEventArgs e)
- {
- this.c1DropDownControl1.Value = lastValue;
- }
复制代码 |