Skip to content

DialogWindow class

The window that hosts a view model shown through IDialogService or IWindowService. It renders Content in the body and the buttons of ButtonsSource in the footer, sizing itself to its content. The services create it for you; there is normally no reason to instantiate it directly.

public class DialogWindow : MxWindow, IActionWindow

Public Members

name description
DialogWindow() Initializes a new instance of the DialogWindow class and loads its XAML.
InitializeComponent(…) Wires up the controls and optionally loads XAML markup and attaches dev tools (if Avalonia.Diagnostics package is referenced).

See Also