FileAttachmentController.SaveToAction Property
Provides access to the FileAttachmentController‘s SaveTo Action.
Namespace: DevExpress.ExpressApp.FileAttachments.Win
Assembly: DevExpress.ExpressApp.FileAttachment.Win.v24.1.dll
NuGet Package: DevExpress.ExpressApp.FileAttachment.Win
Declaration
Property Value
Type | Description |
---|---|
SimpleAction | A SimpleAction object that is the SaveTo Action. |
Remarks
The SaveTo Action saves a file stored within the IFileData type property of the current object to the selected location in the file system. If multiple objects are selected, all of them are saved to the selected folder. The IFileData property that stores a file to be saved is specified via the FileAttachmentAttribute applied to the current persistent object declaration.
To ascertain why the SaveTo Action is currently deactivated or disabled, use the DiagnosticInfo Action. If you need to change the Action’s “active” or “enabled” state in code, use its ActionBase.Active or ActionBase.Enabled property, respectively.
Information on the SaveTo Action is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.