Answers for "c# change window size wpf"

C#
0

c# setting window size

button1_Click(object sender, EventArgs e)
{
    // This will change the Form's Width and Height, respectively.
    this.Size = new Size(420, 200);
}
Posted by: Guest on May-09-2021
0

c# wpf control to windw size

resize:
Grid
UniformGrid
DockPanel
Posted by: Guest on February-28-2021

C# Answers by Framework

Browse Popular Code Answers by Language