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 declarations come from the package's own XML documentation. Await operations and supply cancellation tokens where your application needs them.
CreateColorPickerDialogMethod Property
Creates a fresh native color picker for editor or nested-dialog acceptance.
Syntax
Func<ColorPickerDialogContext, Window> CreateColorPickerDialogMethod { get; set; }
CreateHyperlinkDialogMethod Property
Creates a fresh hyperlink window from copied canonical values and approved bookmark/picker inputs.
Syntax
Func<HyperlinkDialogContext, Window> CreateHyperlinkDialogMethod { get; set; }
CreateImageDialogMethod Property
Creates a fresh image window with actual guarded acceptance and approved picker callbacks.
Syntax
Func<ImageDialogContext, Window> CreateImageDialogMethod { get; set; }
CreateSearchDialogMethod Property
Creates a fresh find/replace window with actual acknowledged search results.
Syntax
Func<SearchDialogContext, Window> CreateSearchDialogMethod { get; set; }
CreateSpellcheckerDialogMethod Property
Creates a fresh spelling review window using the actual portable session and guarded callbacks.
Syntax
Func<SpellcheckerDialogContext, Window> CreateSpellcheckerDialogMethod { get; set; }
CreateStyleBuilderDialogMethod Property
Creates a fresh style-builder window retaining raw CSS and guarded background selection.
Syntax
Func<StyleBuilderDialogContext, Window> CreateStyleBuilderDialogMethod { get; set; }
CreateSymbolDialogMethod Property
Creates a fresh shared-catalog symbol picker with guarded entity insertion.
Syntax
Func<SymbolDialogContext, Window> CreateSymbolDialogMethod { get; set; }
CreateTableCellDialogMethod Property
Creates a fresh cell window, including a nested table dialog's local cell draft.
Syntax
Func<TableCellDialogContext, Window> CreateTableCellDialogMethod { get; set; }
CreateTableDialogMethod Property
Creates a fresh table window retaining raw dimensions, attribute presence and nested cell drafts.
Syntax
Func<TableDialogContext, Window> CreateTableDialogMethod { get; set; }
CreateYouTubeVideoInsertDialogMethod Property
Creates a fresh supported YouTube insertion/modification window.
Syntax
Func<YouTubeVideoInsertDialogContext, Window> CreateYouTubeVideoInsertDialogMethod { get; set; }
OwnerWindow Property
Optional explicit owner; null uses the actual current invoking owner.
Syntax
Window OwnerWindow { get; set; }
ShowColorPickerDialogAsync Method
Opens actual foreground or highlight color authoring according to highlight.
Syntax
Task ShowColorPickerDialogAsync(bool highlight = false, CancellationToken cancellationToken = default)
ShowHyperlinkDialogAsync Method
Opens the actual guarded hyperlink authoring workflow.
Syntax
Task ShowHyperlinkDialogAsync(CancellationToken cancellationToken = default)
ShowImageDialogAsync Method
Opens the actual guarded image authoring workflow and completes when it closes.
Syntax
Task ShowImageDialogAsync(CancellationToken cancellationToken = default)
ShowSearchDialogAsync Method
Opens find/replace on the visible source draft or rendered document.
Syntax
Task ShowSearchDialogAsync(CancellationToken cancellationToken = default)
ShowSpellCheckerDialogAsync Method
Opens actual portable spelling review, or completes with the real no-issues result.
Syntax
Task ShowSpellCheckerDialogAsync(CancellationToken cancellationToken = default)
ShowStyleBuilderDialogAsync Method
Opens the actual guarded body style-builder workflow.
Syntax
Task ShowStyleBuilderDialogAsync(CancellationToken cancellationToken = default)
ShowSymbolDialogAsync Method
Opens the actual shared-catalog symbol insertion workflow.
Syntax
Task ShowSymbolDialogAsync(CancellationToken cancellationToken = default)
ShowTableCellDialogAsync Method
Opens the actual current-cell property workflow.
Syntax
Task ShowTableCellDialogAsync(CancellationToken cancellationToken = default)
ShowTableDialogAsync Method
Opens actual new-table or current-table properties according to inserting.
Syntax
Task ShowTableDialogAsync(bool inserting = true, CancellationToken cancellationToken = default)
ShowYouTubeVideoInsertDialogAsync Method
Opens actual supported YouTube insertion/modification.
Syntax
Task ShowYouTubeVideoInsertDialogAsync(CancellationToken cancellationToken = default)