Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.0+ platform documentation. This link will take you to the parent topic of the current section.

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

public SimpleAction DownloadAction { get; }

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.

IFileAttachmentWeb

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