Thursday, July 9, 2009

C# .NET Rich Text Box BGColor?

How does one change the bgcolor of the rtf output for a rich text box control in C# .NET?

C# .NET Rich Text Box BGColor?
check out http://www.pscode.com for examples on how to do this.
Reply:" richtextboxname.BackColor = Color.Blue " -- use this code in any button events or form load events..





Remember C# is case sensitive.. so type your partial text and use cntrl+spacebar to change to correct format...


No comments:

Post a Comment