/// <summary> /// Method called by a <see cref="HeadlessDialogPanel"/> to unregister itself with /// the current <see cref="HeadlessDialog"/>. /// </summary> /// <param name="item"></param> public async Task UnregisterPanel(HeadlessDialogPanel item) { await Task.CompletedTask; dialogPanel = null; }
/// <summary> /// Method called by a <see cref="HeadlessDialogPanel"/> to register itself with /// the current <see cref="HeadlessDialog"/>. /// </summary> /// <param name="item"></param> public async Task RegisterPanel(HeadlessDialogPanel item) { await Task.CompletedTask; dialogPanel = item; }