public sealed record RunicHostedDialogRequest : IEquatable<RunicHostedDialogRequest> A file dialog or message box a guest application asks its host to show over one of its windows. Only the members of its RunicHostedDialogRequest.Kind are set.
Remarks
Experimental; see docs/experimental.md.
Properties
Filters
public ImmutableArray<FileDialogFilter> Filters { get; init; } The file types an open or save dialog offers, the first selected; empty for every file.
InitialDirectory
public string? InitialDirectory { get; init; } The absolute directory a file dialog opens in, or null for the platform's choice.
MessageBox
public DesktopMessageBox? MessageBox { get; init; } The message box of RunicHostedDialogKind.MessageBox.
ShowFilterChoice
public bool ShowFilterChoice { get; init; } Whether a file dialog offers a choice between RunicHostedDialogRequest.Filters where it does not by itself.
SuggestedName
public string? SuggestedName { get; init; } The file name a save dialog suggests.
Title
public string? Title { get; init; } A file dialog's title, or null for the platform's own.
Window
public RunicHostedWindow Window { get; } The window the dialog belongs to; the host shows it owned by that window.