The window control provides highly customizable modal and modeless dialogs around your application. Predefined, customizable dialogs such as alerts and prompts replace the traditional dialog boxes with extensive customization options. The window state and position can also be easily configured in XAML or code-behind.
The alert window allows you to alert the end user of an urgent message. It can be shown by calling the static ShowAlert() method of the window control class.
The prompt window allows you to retrieve end user input. The prompt window can be shown by calling the static ShowPrompt() method.
The window control ships with the built-in animation types such as fade, none, horizontal swivel, vertical swivel, rotate, and zoom.
The Silverlight window control ships with a built-in context menu, as in normal Windows. Using the context menu, the instance can be closed, minimized, maximized, or restored.
The position of a window can be controlled by setting the WindowStartUpLocation property.
Window will appear in the center of the screen.
Window will appear in the center of the owner window.
The location of the window can be controlled by the top and left properties.
The resizing capability of the window control can be controlled using the ResizeMode property. The enumeration takes values such as CanResize, NoResize, CanResizeWithGrip, CanMinimize, and CanMaximize.
The state of the windows can be controlled by the WindowState property. The enum takes the following values: minimized, maximized, and normal.