Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テキストボックス内のテキストの色を動的に変更するために使用できる代替手段はありますColorTranslator.FromHtml(#F9DA00)か?
ColorTranslator.FromHtml(#F9DA00)
属性またはスタイルを追加できます...
myTextbox.Attributes.Add("style", "color:#000000");
また
myTextbox.Styles.Add("color", "#000000");