How do I reset a .NET Windows Forms TextBox BackColor property?

前端 未结 4 999
我在风中等你
我在风中等你 2020-12-17 15:32

The default behavior of property BackColor of a TextBox is as follows: when enabled, it is White (SystemColors.Window), w

4条回答
  •  鱼传尺愫
    2020-12-17 16:02

    TextBox.ResetBackColor()
    

    It doesn't pop up in IntelliSense for some reason, but it's there and it compiles.

提交回复
热议问题