radDock Color

2 posts, 0 answers
  1. Emmanuel
    Emmanuel avatar
    9 posts
    Member since:
    Sep 2018

    Posted 12 Sep 2018 Link to this post

    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.
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3903 posts

    Posted 13 Sep 2018 Link to this post

    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.
Back to Top