namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets formatting type to "FileDownload".
[AttributeUsage(AttributeTargets.All)]
public class FileDownloadFormatterAttribute : CustomFormatterAttribute
name | description |
---|---|
FileDownloadFormatterAttribute() | Initializes a new instance of the FileDownloadFormatterAttribute class. |
DisplayFormat { get; set; } | Gets or sets the display format. |
IconClass { get; set; } | Gets or sets the icon class. |
OriginalNameProperty { get; set; } | Gets or sets the original name property which indicates the property to read original file name from (if any). |
const Key | Formatter type key |
- class CustomFormatterAttribute
- Source: BasicFormatterTypes.cs