【问题标题】:Drop shadow for text in TextBoxTextBox 中文本的阴影
【发布时间】:2013-09-16 11:11:27
【问题描述】:

我有TextBoxTextBox.BackColor = Transparent;

例如,我需要在 WinForms 中做 how to add dropshadoweffect to just the text of a textbox (programmatically)

【问题讨论】:

  • 我没有 WinForms。
  • @mzk 对于winforms 来说不容易,不清楚你想要什么但TextBoxwinforms 中不支持BackColor = Color.Transparent,即使Shadowed text 也很难实现。
  • 我来到Codeproject.com就是一个例子。
  • @mzk 看起来您在CodeProject 上找到了一些示例?

标签: c# .net winforms


【解决方案1】:

您不能直接在文本框中设置背景颜色“透明”。 请参考随附的 URL 来完成您的任务: Transparency for windows forms textbox

【讨论】:

  • 可以帮助将这个主题的文本隐藏到TextBox中
猜你喜欢
  • 2015-03-12
  • 2011-10-17
  • 2012-03-13
  • 2012-12-08
  • 1970-01-01
  • 2018-03-05
  • 1970-01-01
  • 2011-03-18
  • 1970-01-01
相关资源
最近更新 更多