FileAttachmentController.DownloadAction Property
Provides access to the FileAttachmentController‘s Download Action.
Namespace: DevExpress.ExpressApp.FileAttachments.Web
Assembly: DevExpress.ExpressApp.FileAttachment.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.FileAttachment.Web
Declaration
Property Value
Type | Description |
---|---|
SimpleAction | A SimpleAction object that is the Download Action. |
Remarks
The Download Action downloads a file stored within the IFileData type property of the current object. The IFileData property that stores a file to be downloaded is specified via the FileAttachmentAttribute applied to the current persistent object declaration.
To ascertain why the Download 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 Download Action is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.