Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FileAttachmentController.SaveToAction Property

Provides access to the FileAttachmentController‘s SaveTo Action.

Namespace: DevExpress.ExpressApp.FileAttachments.Win

Assembly: DevExpress.ExpressApp.FileAttachment.Win.v24.2.dll

#Declaration

public SimpleAction SaveToAction { get; }

#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.

FileAttach_SaveToAction

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.

See Also