整理控件库

This commit is contained in:
GG Z
2025-05-05 17:04:06 +08:00
parent 74532b77be
commit 3eaad7566e
283 changed files with 2156 additions and 17846 deletions

View File

@@ -1,10 +1,11 @@
using WPFluent.Controls;
using System.Windows.Controls;
using WPFluent.Controls;
namespace WPFluent.Extensions;
public static class ContentDialogServiceExtensions
@@ -14,7 +15,7 @@ public static class ContentDialogServiceExtensions
/// </summary>
/// <returns>Result of the life cycle of the <see cref="ContentDialog"/>.</returns>
public static Task<ContentDialogResult> ShowAlertAsync(
this IContentDialogService dialogService,
this ContentDialogService dialogService,
string title,
string message,
string closeButtonText,
@@ -37,8 +38,8 @@ public static class ContentDialogServiceExtensions
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Result of the life cycle of the <see cref="ContentDialog"/>.</returns>
public static Task<ContentDialogResult> ShowSimpleDialogAsync(
this IContentDialogService dialogService,
SimpleContentDialogCreateOptions options,
this ContentDialogService dialogService,
SimpleContentDialogOptions options,
CancellationToken cancellationToken = default)
{
var dialog = new ContentDialog()