This is a migrated thread and some comments may be shown as answers.
radDock Color
1 Answer 21 Views
This is a migrated thread and some comments may be shown as answers.
Emmanuel
Top achievements
Rank 1
Emmanuel asked on 12 Sep 2018, 02:45 PM
Hello,

When setting the property this.IsMdiContainer = true;
the main form changes color, how can I change the color?

       private void MenuPrincipal_Load (object sender, EventArgs e)
         {
            this.IsMdiContainer = true;
            this.radDock1.AutoDetectMdiChildren = true;
         }
        private void radButton1_Click (object sender, EventArgs e)
         {
             radForm1 form = new radForm1 ();
             form.Text = "Test Form" + DateTime.Now.ToShortTimeString ();
             form.MdiParent = this;
             form.Show ();

         }

Here I show the photo

Thank you.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Sep 2018, 05:49 AM
Hello, Emmanuel,           

This functionality for making the background of the parent MDI form grey is completely descended from the ancestor (Form). This question is more appropriate for general programming forums like stackOverflow and MSDN. The following threads may be suitable for achieving your goal: 
https://support.microsoft.com/en-my/help/319465/how-to-change-the-background-color-for-an-mdi-parent-form-in-visual-c
https://stackoverflow.com/questions/1087133/change-background-of-an-mdi-form

I hope this information helps. If you need any further assistance please don't hesitate to contact me.

Regards,
Dess
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Dock
Asked by
Emmanuel
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or