Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6732497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:39:29+00:00 2026-05-26T10:39:29+00:00

When using the System.Windows.Forms.TableLayoutPanel control on a windows form, it sets the background color

  • 0

When using the System.Windows.Forms.TableLayoutPanel control on a windows form, it sets the background color too: 216, 216, 216, and even if we change the color to something else, the color always seems to reset back to 216, 216, 216.

It does it at run time, and even during design time. During design time, you can change the color, and it resepct the color change, but if you switch away from the form designer, and back to it, it resets back to 216, 216, 216.

Is this a known issue, or how can we avoid this issue?

Note: We did do this using just a blank project, single table layout using .NET Framework 4 (not client framework).

We are using

  • Microsoft Visual Studio 2010
  • Version 10.0.30319.1 RTMRel
  • Microsoft .NET Framework Version 4.0.30319 RTMRel
  • Installed Version: Ultimate

C# Details

  • Microsoft Visual C# 2010 01019-532-2002102-70826
  • Microsoft Visual C# 2010
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:39:30+00:00Added an answer on May 26, 2026 at 10:39 am

    Issue is caused by the Metro components inside of the DevComponents suite. When adding a table layout to anything on a Metro enabled form, the table layout color resets back to whatever the stylemanager wants, regardless of what you set it as.

    Have opened an issue w/ the developer to see if it can be fixed, they advise as of 10/21/2011 that they are looking at ways of overriding that issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a System.Windows.Forms.WebBrowser control next to textboxes with the left margins of each
I am working on a simple chat application using a System.Windows.Forms.WebBrowser Control to display
I am using System.Windows.Forms.RichTextBox and doing something like RichTextBox1.Text = Hello World; But after
I'm currently using System.Windows.Forms webbrowser control to automate a webpage. Everything works fine to
This is my code: using System.Windows.Forms; Type type = typeof(Form); Type type2 = Type.GetType(type.FullName);
I can already do: using System.Windows.Forms; Button b; or: System.Windows.Forms.Button b; but I would
using System; using System.Drawing; using System.IO; using System.Security.Cryptography; using System.Text.RegularExpressions; using System.Windows.Forms; using System.Threading;
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Drawing.Imaging;
The winform: The code: using System; using System.Windows.Forms; namespace DemoApp { public partial class
Is it possible to embed a Gtk widget into an application using System.Windows.Forms? Thanks!

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.