The requested page is not available for the requested platform. You are viewing the content for Default platform.

FileAttachmentController.DownloadAction Property

Provides access to the FileAttachmentController's Download Action.

Namespace: DevExpress.ExpressApp.FileAttachments.Web

Assembly: DevExpress.ExpressApp.FileAttachment.Web.v19.1.dll


public SimpleAction DownloadAction { get; }
Public ReadOnly Property DownloadAction As SimpleAction

Property Value

Type Description

A SimpleAction object that is the Download Action.


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.

See Also