Dialog service
Open the editor authoring dialogs or replace their native window factories. Each dialog operates against a captured owner, document and selection context.
The facade is available as editor.Dialog; its interface can be replaced by an application implementation.

Use it in your application
Factories return native Avalonia windows. Use the supplied context for guarded application and preserve modal ownership, validation and cancellation.
All examples assume an editor named editor, already attached to a visible window, and an awaited editor.Ready. Keep operations asynchronous instead of blocking the UI thread.
await editor.Dialog.ShowTableDialogAsync();Members
These signatures come from the delivered 1.0.2 assemblies and XML documentation. Cancellation tokens can be supplied to awaited operations. Follow the source-specific notes above when adapting a WPF integration.
| Member | Signature |
|---|---|
ShowColorPickerDialogAsync | Task ShowColorPickerDialogAsync(bool highlight, CancellationToken cancellationToken) |
ShowHyperlinkDialogAsync | Task ShowHyperlinkDialogAsync(CancellationToken cancellationToken) |
ShowImageDialogAsync | Task ShowImageDialogAsync(CancellationToken cancellationToken) |
ShowSearchDialogAsync | Task ShowSearchDialogAsync(CancellationToken cancellationToken) |
ShowSpellCheckerDialogAsync | Task ShowSpellCheckerDialogAsync(CancellationToken cancellationToken) |
ShowStyleBuilderDialogAsync | Task ShowStyleBuilderDialogAsync(CancellationToken cancellationToken) |
ShowSymbolDialogAsync | Task ShowSymbolDialogAsync(CancellationToken cancellationToken) |
ShowTableCellDialogAsync | Task ShowTableCellDialogAsync(CancellationToken cancellationToken) |
ShowTableDialogAsync | Task ShowTableDialogAsync(bool inserting, CancellationToken cancellationToken) |
ShowYouTubeVideoInsertDialogAsync | Task ShowYouTubeVideoInsertDialogAsync(CancellationToken cancellationToken) |
CreateColorPickerDialogMethod | Func<ColorPickerDialogContext, Window> CreateColorPickerDialogMethod { get; set; } |
CreateHyperlinkDialogMethod | Func<HyperlinkDialogContext, Window> CreateHyperlinkDialogMethod { get; set; } |
CreateImageDialogMethod | Func<ImageDialogContext, Window> CreateImageDialogMethod { get; set; } |
CreateSearchDialogMethod | Func<SearchDialogContext, Window> CreateSearchDialogMethod { get; set; } |
CreateSpellcheckerDialogMethod | Func<SpellcheckerDialogContext, Window> CreateSpellcheckerDialogMethod { get; set; } |
CreateStyleBuilderDialogMethod | Func<StyleBuilderDialogContext, Window> CreateStyleBuilderDialogMethod { get; set; } |
CreateSymbolDialogMethod | Func<SymbolDialogContext, Window> CreateSymbolDialogMethod { get; set; } |
CreateTableCellDialogMethod | Func<TableCellDialogContext, Window> CreateTableCellDialogMethod { get; set; } |
CreateTableDialogMethod | Func<TableDialogContext, Window> CreateTableDialogMethod { get; set; } |
CreateYouTubeVideoInsertDialogMethod | Func<YouTubeVideoInsertDialogContext, Window> CreateYouTubeVideoInsertDialogMethod { get; set; } |
OwnerWindow | Window OwnerWindow { get; set; } |