SavingImage Event

Definition

Assembly MarkView.Avalonia.dll

Raised when the user asks to save an image or a diagram, before the save picker opens. A handler can change SuggestedFileName, or set Cancel and save the picture itself with WriteAsync(MarkdownImageFormat, Stream). Bubbles up the visual tree.

public event EventHandler<SavingImageEventArgs>? SavingImage

Returns