如何创建datagridview的列的NumericUpDown [英] how to create datagridview NumericUpDown column
问题描述
我想在datagridview的这类型的NumericUpDown添加一列。所以我创建自定义列类型,它和它工作正常,但这种控制是可见的每一次。我只是想,当我在本专栏中(的NumericUpDown列)的特定单元格中输入则仅此控制表演。我想如以下的屏幕截图。
I want to add a column in datagridview which is NumericUpDown type. so i have created custom column type for that and it is working fine but this control is visible every time. I just want when i enter in a particular cell of this column(NumericUpdown column) then only this control show. i want as shown in following screenshot.
任何帮助会升值。
推荐答案
我知道你指定你在做的WinForms,但对于谁碰到这个来自未来的人,我想插上WPF的开源 MahApps.Metro工具其中包括 DataGridNumericUpDownColumn
。
I know you specify you're doing winforms, but for anyone in the future who comes across this, I'd like to plug WPF's open-source MahApps.Metro toolkit which includes a DataGridNumericUpDownColumn
.
这篇关于如何创建datagridview的列的NumericUpDown的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!