feat: respect close button visibility in all options.

This commit is contained in:
rabbitism
2024-08-25 15:14:55 +08:00
parent 271fcbb631
commit f5726dbafc
7 changed files with 197 additions and 241 deletions

View File

@@ -43,7 +43,7 @@ public class OverlayDialogOptions
/// <summary>
/// Only works for CustomDialogControl
/// </summary>
public bool IsCloseButtonVisible { get; set; } = true;
public bool? IsCloseButtonVisible { get; set; } = true;
[Obsolete()]
public bool ShowCloseButton { get; set; } = true;
public bool CanLightDismiss { get; set; }