TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
firefrank
NA
1
0
Can a UserControl be made transparent?
Mar 10 2004 11:32 AM
I'm building a custom control ( UserControl ) in a windows control library. If you set the background color to transparent, you get a message saying you can't do it. However, on MSDN, I dug up this (which has to be in the control's constructor: SetStyle(ControlStyles.SupportsTransparentBackColor, true); this.BackColor = Color.Transparent; But even with this my control remains gray...
Reply
Answers (
1
)
Performance question
Can OnEraseBackground be overridden in C#?