Skip to content

SaveFileDialog.Title

property · SaveFileDialog · cAlgo.API Since 5.1

DesktopCLICloud

Gets or sets a string shown in the title bar of the dialog. If this property is null, a localized default from the operating system itself will be used.

Environment behaviour

CLI — not supported. No dialog can be shown in the CLI: ShowDialog returns FileDialogResult.None, nothing is written and the dialog settings are only stored.

Cloud — not supported. No dialog can be shown in the cloud: ShowDialog returns FileDialogResult.None, nothing is written and the dialog settings are only stored.

Definition

public string Title {get; set;}
saveFileDialog.Title: str

Returns string

Examples

var saveFileDialog = new SaveFileDialog { Title = "Save trading journal" };
saveFileDialog.ShowDialog();
saveFileDialog = SaveFileDialog()
saveFileDialog.Title = "Save trading journal"
saveFileDialog.ShowDialog()