using Avalonia; using Avalonia.Controls; namespace Ursa.Controls; public class DialogOptions { internal static DialogOptions Default { get; } = new DialogOptions(); /// /// The Startup Location of DialogWindow. Default is /// public WindowStartupLocation StartupLocation { get; set; } = WindowStartupLocation.CenterOwner; /// /// The Position of DialogWindow startup location if is /// public PixelPoint? Position { get; set; } /// /// Title of DialogWindow, Default is null /// public string? Title { get; set; } /// /// DialogWindow's Mode, Default is /// public DialogMode Mode { get; set; } = DialogMode.None; public DialogButton Button { get; set; } = DialogButton.OKCancel; public bool? IsCloseButtonVisible { get; set; } = true; public bool ShowInTaskBar { get; set; } = true; public bool CanDragMove { get; set; } = true; public bool CanResize { get; set; } }