Version

Show the Minimize and Maximize Buttons

WebDialogWindow™ allows your end users to either minimize or maximize the dialog window by using two buttons in the header, very similar to a Windows Forms window. Both found off the Header object, the MaximizeBox.Visible and MinimizeBox.Visible properties allow you to display both the maximize and minimize boxes, respectively.

When the end user clicks the minimize box, the dialog window all but disappears, except for the header. The header itself decreases its width to a default size of 100 pixels. You can modify the minimized width manually; see Maintain the Header’s Width on Minimize for more information.

When the end user clicks the maximize box, the dialog window expands until it uses all of the available screen real estate within its parent page. The end user may wish to maximize the dialog window if there is a large amount of information in it, or if there is another web page displaying inside.

The following code demonstrates how to display both the maximize and minimize boxes in the dialog window’s header.

In Visual Basic:

' Show the Minimize and Maximize Buttons.
Me.WebDialogWindow1.Header.MaximizeBox.Visible = True
Me.WebDialogWindow1.Header.MinimizeBox.Visible = True

In C#:

// Show the Minimize and Maximize Buttons.
this.WebDialogWindow1.Header.MaximizeBox.Visible = true;
this.WebDialogWindow1.Header.MinimizeBox.Visible = true;