Resizing of Windows App

lilek3 21 Reputation points
2022-01-23T18:37:15.397+00:00

Although I set all AutoScale settings of my app to False, when I run my app I am still able to resize and stretch my app. Is there a way to disable the resizing and stretching of a Windows App in Visual Studio?

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
783 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,723 questions
0 comments No comments
{count} votes

Accepted answer
  1. LesHay 7,126 Reputation points
    2022-01-23T18:55:54.567+00:00

    Hi

    Try setting the Form border style to suit your needs.

    Test with ONE of these, or set the property in the Designer.

    Examples:

            FormBorderStyle = FormBorderStyle.FixedDialog
    
            FormBorderStyle = FormBorderStyle.FixedSingle
    
            FormBorderStyle = BorderStyle.None
    
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.