public static ResponseType ShowExpandCanvasDialog() { var primary = Translations.GetString("Image larger than canvas"); var secondary = Translations.GetString("The image being pasted is larger than the canvas size. What would you like to do?"); var markup = $"<span weight=\"bold\" size=\"larger\">{primary}</span>\n\n{secondary}"; return(DialogExtensions.ShowQuestionDialog(markup, new DialogButton(Translations.GetString("Expand canvas"), ResponseType.Accept, true), new DialogButton(Translations.GetString("Don't change canvas size"), ResponseType.Reject), new DialogButton(Stock.Cancel, ResponseType.Cancel))); }