Skip to content

OpenFileDialog.Title

property · OpenFileDialog · 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 and the dialog settings are only stored.

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

Definition

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

Returns string

Examples

var openFileDialog = new OpenFileDialog { Title = "Import trade signals" };
openFileDialog.ShowDialog();
openFileDialog = OpenFileDialog()
openFileDialog.Title = "Import trade signals"
openFileDialog.ShowDialog()