using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Windows.Foundation;

namespace Prism.Dialogs
{
    public interface IDialogWindow
    {
        object DataContext { get; set; }

        Style Style { get; set; }

        event RoutedEventHandler Loaded;

        event TypedEventHandler<ContentDialog, ContentDialogClosingEventArgs> Closing;
        event TypedEventHandler<ContentDialog, ContentDialogClosedEventArgs> Closed;

        IDialogResult Result { get; set; }

        object Content { get; set; }

        IAsyncOperation<ContentDialogResult> ShowAsync();

        void Hide();
    }
}
