/// <summary> /// Perform initialization. /// </summary> public StopJobsButton Initialize() { Text = "stop all"; ColorScheme = ButtonColorScheme(); Clicked += async() => await messageBox .Query("stop jobs", "send request to host app?") .OnConfirmedAsync(async() => await jobs.StopAllAsync()); return(this); }