How can you make a change in the size of a Window in WPF, changing its Heigth and Width and thus increasing and decreasing the screen according to the values reported? For example: I have a button (Increase Screen) and when the event refers to this button is executed a
button_click(){
Form.Width = NovoValor;
Form.Heigth= NovoValor;
}