In This Topic
Window for Blazor is a popup window which enables you to add small overlays of arbitrary content to your applications, as popovers or modal dialogs. Popovers are the popups which have owner elements to control their visibility, and are placed relative to these owner elements when they appear on the screen. Whereas, dialogs are the popups with no owner elements, and they appear towards the center of the screen distinguished from the rest of the content on the screen.
Key Features
Window offers many advanced features beyond simply adding small overlays of arbitrary content. These features are listed below:
- Create popovers and dialogs
Window enables you to add small overlays of arbitrary content to your applications, as popovers or modal dialogs. Popovers have owner elements to control their visibility whereas dialogs are the pop ups with no owner elements. Hence, a popup behaves like a popover when the element that owns the popup, otherwise, it behaves like a dialog.
- Manage popup display
By default, the popup appears when a user clicks the owner element. However, Window allows you to control the actions that show or hide the popup.
- Alerts and prompts
Window can be used to implement static methods for showing alert and prompt dialogs.
- Modal and Modeless Window
Window supports both modal and modeless modes to display a dialog providing you the choice to opt for any of these modes while creating a popup window.
- Resizable dialogs
Window allows you to determine whether the popup can be resized by dragging its edges with the mouse.