Skip to content

DialogWindow.InitializeComponent method

Wires up the controls and optionally loads XAML markup and attaches dev tools (if Avalonia.Diagnostics package is referenced).

public void InitializeComponent(bool loadXaml = true, bool attachDevTools = true)
parameter description
loadXaml Should the XAML be loaded into the component.
attachDevTools Should the dev tools be attached.

See Also