Completed
Last Updated: 13 Apr 2023 08:25 by ADMIN
Release R2 2023 (LIB 2023.1.413)
Youssef
Created on: 17 Mar 2023 13:20
Category: UI for WinForms
Type: Bug Report
4
RadForm: Minimizing/Restoring a RadForm increases its size in .NET 7
Create a brand new .NET 7 project with a RadForm using the following code: 
    public partial class RadForm1 : Telerik.WinControls.UI.RadForm
    {
        public RadForm1()
        {
            InitializeComponent();
            this.SizeChanged += RadForm1_SizeChanged;
            this.timer1.Start();
        }

        private void RadForm1_SizeChanged(object sender, EventArgs e)
        {
            this.Text = this.Size.ToString();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            if (this.WindowState == FormWindowState.Minimized)
            {
                this.WindowState = FormWindowState.Normal;
            }
            else
            {
                this.WindowState = FormWindowState.Minimized;
            }
        }
    }
1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 17 Mar 2023 13:25

Hi, Youssef,

Thank you for reporting this undesired behavior.

Currently, due to the specificity of the issue, the possible solution that I can suggest is to use .NET 6. Please excuse us for the inconvenience caused. We will do our best to introduce a fix accordingly.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.