FileDownloadFormatterAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets formatting type to "FileDownload".

[AttributeUsage(AttributeTargets.All)]
public class FileDownloadFormatterAttribute : CustomFormatterAttribute

Public Members

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

See Also