Skip to content

ControlExtensions.Build<TWindow> method

Defines and immediately runs the window’s build at the composition site. The callback becomes the build owner (a virtual OnBuild override is then not invoked) and is re-run by Hot Reload when edited.

public static TWindow Build<TWindow>(this TWindow window, Action<TWindow> build)
where TWindow : Window
parameter description
TWindow Window type.
window Target window.
build Build callback.

The window for chaining.