Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.67 KB

File metadata and controls

28 lines (19 loc) · 1.67 KB

ModalDialogViewModelBase class

Representation of a modal popup dialog in Studio Pro. It is topmost and blocking. The only current allowed usage of this class is to implement the WebViewModalDialogViewModel class, used to show a modal dialog containing a IWebView from ShowDialog.

public abstract class ModalDialogViewModelBase : ViewModelBase

Public Members

name description
Height { get; set; } The height of the dialog. If not provided, the dialog will have a default size. It can be changed while the dialog is open.
OnClosed { get; set; } Optional action to execute when the dialog is closed.
OnClosing { get; set; } Optional action to execute when the user attempts to close the dialog.
Title { get; } Title of the dialog. Empty by default.
Width { get; set; } The width of the dialog. If not provided, the dialog will have a default size.

Remarks

A dialog can be opened with IDialogService.

See Also