Class VmDialogParameters
Core parameters that apply to all dialogs.
public class VmDialogParameters
- Inheritance
-
VmDialogParameters
- Inherited Members
Constructors
VmDialogParameters()
public VmDialogParameters()
Properties
AllowCancel
Whether to allow the user to dismiss the dialoge by clicking on a generic "X" close button or hitting escape. If this is set to false, the dialog can only be closed with the Dialog property of the viewmodel.
public bool AllowCancel { get; init; }
Property Value
Height
See Width
public string Height { get; init; }
Property Value
Icon
Define the icon to be shown in the dialog header.
public Icon? Icon { get; init; }
Property Value
Title
The title that will be shown in the dialog header.
public string? Title { get; init; }
Property Value
TitleMarkup
USE ONLY WITH TRUSTED DATA. Like Title, but allows for arbitrary HTML markup. Using untrusted data here can lead to XSS vulnerabilities.
public MarkupString? TitleMarkup { get; init; }
Property Value
Width
Needs to be a valid value for the CSS width property.
This also means you can set computed values such as min(100vw,
700px) to set a maximum value.
public string Width { get; init; }