如何在NumericUpDown控件中自定义TextBox的foreColor。何时禁用? [英] How to customize foreColor of the TextBox in NumericUpDown control.when disabled?

查看:75
本文介绍了如何在NumericUpDown控件中自定义TextBox的foreColor。何时禁用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在禁用时自定义NumericUpDown控件中TextBox的foreColor?

How to customize foreColor of the TextBox in NumericUpDown control when disabled?

推荐答案

您好ssaran046,

Hi ssaran046,

使用默认的"NumericUpDown"无法实现此需求。控制。最好的方法是创建自己的"NumericUpDown"。继承自默认的"NumericUpDown"控制,然后做自己的绘画。

It is impossible to achieve this need with the default "NumericUpDown" control. The best method is to create your own "NumericUpDown" that inherits from the default "NumericUpDown" control and then do your own painting.

问候,

凯尔


这篇关于如何在NumericUpDown控件中自定义TextBox的foreColor。何时禁用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆