SaveFileDialog¶
Summary¶
Represents a common dialog box that allows a user to specify a filename to save.
Signature
1 |
|
Namespace¶
cAlgo.API
Methods¶
WriteToFile (2)¶
WriteToFile (1 of 2)
Summary
Writes data to selected file.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
data | string | File data |
Return Value
void
WriteToFile (2 of 2)
Summary
Writes data to selected file.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
data | byte[] | File data |
Return Value
void
ResetInternal¶
Signature
1 |
|
Return Value
void
Reset¶
Summary
Resets all dialog properties to their default values.
Signature
1 |
|
Return Value
void
ShowDialog (2)¶
ShowDialog (1 of 2)
Summary
Shows a file dialog, with the owner as the main Window
Signature
1 |
|
Return Value
FileDialogResult
ShowDialog (2 of 2)
Summary
Shows a file dialog, with the passed owner window.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
owner | Window | The window that owns the file dialog. |
Return Value
FileDialogResult
SetProperty¶
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
field | T& | |
value | T |
Return Value
void
GetProperty¶
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
field | T& |
Return Value
T
Properties¶
Title¶
Summary
Gets or sets a string shown in the title bar of the dialog.If this property is null, a localized default from the operatingsystem itself will be used.
Signature
1 |
|
Return Value
string
AddExtension¶
Summary
Gets or sets a value indicating whether a file dialog automatically adds an extension to a file name if the useromits an extension.
Signature
1 |
|
Return Value
bool
DefaultExt¶
Summary
Gets or sets a value that specifies the default extension string to use to filter the list of files that aredisplayed.
Signature
1 |
|
Return Value
string
Filter¶
Summary
Gets or sets the filter string that determines what types of files are displayed in file dialog.
Signature
1 |
|
Return Value
string
InitialDirectory¶
Summary
Gets or sets the initial directory that is displayed by a file dialog.
Signature
1 |
|
Return Value
string
ValidateNames¶
Summary
Gets or sets a value indicating whether the dialog accepts only valid file names.
Signature
1 |
|
Return Value
bool